diff options
author | q5sys <jt@obs-sec.com> | 2017-06-16 12:44:25 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-06-16 12:44:25 -0400 |
commit | a14f5f39f896be26d8318a39ebd0a2e154cde8ea (patch) | |
tree | 38db3f456d61ac201eeddb8016bae793c149616a /src-qt5/desktop-utils | |
parent | add prototype for autoextract menu entry (diff) | |
download | lumina-a14f5f39f896be26d8318a39ebd0a2e154cde8ea.tar.gz lumina-a14f5f39f896be26d8318a39ebd0a2e154cde8ea.tar.bz2 lumina-a14f5f39f896be26d8318a39ebd0a2e154cde8ea.zip |
fix file manage autoextract menu method
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp index a32a0478..02b3c433 100644 --- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp +++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp @@ -848,10 +848,11 @@ //---------------------------------------------------// void DirWidget::autoExtractFiles(){ QProcess *pExtract= new QProcess(this); - QString program = "lumina-archiver --ax"; - QStringList file = currentBrowser()->currentSelection(); - pExtract->start(program, QStringList() << file); - + QString program = "lumina-archiver --ax "; + QStringList files = currentBrowser()->currentSelection(); + for(int i=0; i<files.length(); i++){ + QString runline = program + files[i]; + pExtract->start(runline); } //---------------------------------------------------// |