aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-11-24 19:26:13 +0000
committerWeblate <noreply@weblate.org>2017-11-24 19:26:13 +0000
commit56890dfdacb3272808dfaedee7f4d9208f6d5acc (patch)
tree2da40ddecdc429da1e495b3136d0c9dc61ef56c3 /src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
parentTranslated using Weblate (Hungarian) (diff)
parentMerge pull request #512 from schnitzeltony/master (diff)
downloadlumina-56890dfdacb3272808dfaedee7f4d9208f6d5acc.tar.gz
lumina-56890dfdacb3272808dfaedee7f4d9208f6d5acc.tar.bz2
lumina-56890dfdacb3272808dfaedee7f4d9208f6d5acc.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver/MainUI.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/MainUI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
index 79c023dc..47c6bfe1 100644
--- a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
@@ -95,8 +95,9 @@ void MainUI::LoadArguments(QStringList args){
connect(BACKEND, SIGNAL(FileLoaded()), this, SLOT(autoextractFiles()) );
connect(BACKEND, SIGNAL(ExtractSuccessful()), delayClose, SLOT(start()) );
}else if(action==2){
- aaFileList.clear();
- for(int j=1; j<files.length(); j++){ aaFileList << files[j]; }
+ aaFileList = files;
+ aaFileList.removeFirst();
+ //for(int j=1; j<files.length(); j++){ aaFileList << files[j]; }
qDebug() << "AA Files:" << aaFileList;
connect(BACKEND, SIGNAL(FileLoaded()), this, SLOT(autoArchiveFiles()) );
connect(BACKEND, SIGNAL(ArchivalSuccessful()), delayClose, SLOT(start()) );
bgstack15