|
|
@ -752,6 +752,8 @@ TQString KRarcHandler::detectArchive( bool &encrypted, TQString fileName, bool c
|
|
|
|
encrypted = proc.isEncrypted();
|
|
|
|
encrypted = proc.isEncrypted();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else if( type == "xz" && (fileName.endsWith(".tar.xz") || fileName.endsWith(".txz")) )
|
|
|
|
|
|
|
|
type = "txz";
|
|
|
|
return type;
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -776,15 +778,6 @@ TQString KRarcHandler::detectArchive( bool &encrypted, TQString fileName, bool c
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (fileName.endsWith(".tar.xz"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return "txz";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (fileName.endsWith(".xz"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return "xz";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return TQString();
|
|
|
|
return TQString();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|