ark: prepare for KCmdLineArgs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-16 01:38:03 +03:00
parent cb01700eed
commit 5cd80dddb1
2 changed files with 0 additions and 2 deletions

View file

@ -153,6 +153,5 @@ X-DocPath=ark/index.html
Type=Application
Terminal=false
StartupNotify=true
X-KDE-HasTempFileOption=true
Categories=Qt;KDE;Utility;Archiving;Compression;X-KDE-Utilities-File;
InitialPreference=3

View file

@ -111,7 +111,6 @@ int main(int argc, char **argv)
option.add("e").add("autodestination", ki18n("The destination argument will be set to the path of the first file supplied."));
option.add("a").add("autosubfolder", ki18n("Archive contents will be read, and if detected to not be a single folder archive, a subfolder with the name of the archive will be created."));
KCmdLineArgs::addCmdLineOptions(option);
KCmdLineArgs::addTempFileOption();
KApplication application;
application.setQuitOnLastWindowClosed(false);