diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-02-17 13:06:45 +0700 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-02-17 13:06:45 +0700 |
commit | 50e51d1622c551ebc287861dc4c307b9859a9568 (patch) | |
tree | 326d91cc7319352e2bda8db14ab1bfbbdd66bbee /krusader/Dialogs | |
parent | 76ca48c43dcb5d28da7d4ff79fbfe857fa441a2c (diff) | |
download | krusader-50e51d16.tar.gz krusader-50e51d16.zip |
Added support for xz archives. This resolve bug 2516.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'krusader/Dialogs')
-rw-r--r-- | krusader/Dialogs/packgui.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/krusader/Dialogs/packgui.cpp b/krusader/Dialogs/packgui.cpp index e57af8e..e479060 100644 --- a/krusader/Dialogs/packgui.cpp +++ b/krusader/Dialogs/packgui.cpp @@ -5,10 +5,10 @@ e-mail : krusader@users.sourceforge.net web site : http://krusader.sourceforge.net --------------------------------------------------------------------------- - Description + Description *************************************************************************** - A + A db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D @@ -63,11 +63,13 @@ PackGUI::PackGUI(TQString defaultName, TQString defaultPath, int noOfFiles, TQSt if (PS("tar")) typeData->insertItem("tar"); if (PS("tar") && PS("gzip")) typeData->insertItem("tar.gz"); if (PS("tar") && PS("bzip2")) typeData->insertItem("tar.bz2"); + if (PS("tar") && PS("xz")) typeData->insertItem("tar.xz"); if (PS("zip")) typeData->insertItem("zip"); if (PS("rar")) typeData->insertItem("rar"); if (PS("lha")) typeData->insertItem("lha"); if (PS("arj")) typeData->insertItem("arj"); if (PS("7z")) typeData->insertItem("7z"); + if (PS("xz")) typeData->insertItem("xz"); // set the last used packer as the top one TQString tmp=krConfig->readEntry("lastUsedPacker",TQString()); if (tmp!=TQString()) { |