diff options
author | q5sys <jt@xsystems.com> | 2018-01-15 13:48:01 -0500 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2018-01-15 13:48:01 -0500 |
commit | ca0f1e193732df4bc2a25e9db4d4497000e784fe (patch) | |
tree | 95ec1d534cf3a7eec13a0006c90b37de0df3f3e4 /src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp | |
parent | Get the panels all setup and functional. (diff) | |
download | lumina-ca0f1e193732df4bc2a25e9db4d4497000e784fe.tar.gz lumina-ca0f1e193732df4bc2a25e9db4d4497000e784fe.tar.bz2 lumina-ca0f1e193732df4bc2a25e9db4d4497000e784fe.zip |
move lumina-notify out of tree
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp index 91e233d0..714cfe45 100644 --- a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp +++ b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp @@ -114,7 +114,10 @@ void Backend::startAdd(QStringList paths, bool absolutePaths){ paths[i] = paths[i].section(parent,1,-1); if(paths[i].startsWith("/")){ paths[i].remove(0,1); } } - args << "-C" << parent; } + args << "-C" << parent; + }else{ + args << "-C" << "/"; + } args << paths; if(QFile::exists(filepath)){ //append to existing args.replaceInStrings(filepath, tmpfilepath); |