summaryrefslogtreecommitdiffstats
path: root/src/qtpass.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2020-05-30 02:23:09 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2020-05-30 02:23:09 +0200
commited15f31e5887495f5092458c945d212ff05a7290 (patch)
tree92b2c6bc54fd10cd667e2b89b5d75523efe004a2 /src/qtpass.cpp
parent2412ec533faf0dc1f4c762bdd4ed812afd0a48eb (diff)
Fixed depracation warnings in Qt 5.15
Diffstat (limited to 'src/qtpass.cpp')
-rw-r--r--src/qtpass.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/qtpass.cpp b/src/qtpass.cpp
index dd643101..eb0030c7 100644
--- a/src/qtpass.cpp
+++ b/src/qtpass.cpp
@@ -195,9 +195,13 @@ void QtPass::mountWebDav() {
true);
}
#else
- fusedav.start("fusedav -o nonempty -u \"" + QtPassSettings::getWebDavUser() +
- "\" " + QtPassSettings::getWebDavUrl() + " \"" +
- QtPassSettings::getPassStore() + '"');
+ fusedav.start("fusedav", QStringList()
+ << "-o"
+ << "nonempty"
+ << "-u"
+ << "\"" + QtPassSettings::getWebDavUser() + "\""
+ << QtPassSettings::getWebDavUrl()
+ << "\"" + QtPassSettings::getPassStore() + "\"");
fusedav.waitForStarted();
if (fusedav.state() == QProcess::Running) {
QString pwd = QtPassSettings::getWebDavPassword();