diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver/main.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/main.cpp b/src-qt5/desktop-utils/lumina-archiver/main.cpp index ccd85902..4f9a4bc5 100644 --- a/src-qt5/desktop-utils/lumina-archiver/main.cpp +++ b/src-qt5/desktop-utils/lumina-archiver/main.cpp @@ -19,7 +19,8 @@ int main(int argc, char *argv[]) { //Now go ahead and setup the app QStringList args; for(int i=1; i<argc; i++){ - args << LUtils::PathToAbsolute( QString(argv[i]) ); + if( QString(argv[i]).startsWith("--") ){ args << QString(argv[i]); } + else{ args << LUtils::PathToAbsolute( QString(argv[i]) ); } } //Now start the window MainUI W; |