diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-11-03 14:05:17 +0100 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-11-03 14:05:17 +0100 |
commit | 02c374579eb431f5410fc4ef50ede9f19c4bcdf2 (patch) | |
tree | 074d8b8a4aeeaf973a547305640c20a977cf8133 | |
parent | 7482b42c56ea757f6b8b9a4d5b15fd9643cda9f1 (diff) |
Convert to LPCWSTR (ugh, Windows)
-rw-r--r-- | configdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configdialog.cpp b/configdialog.cpp index f0377c38..f00b0be1 100644 --- a/configdialog.cpp +++ b/configdialog.cpp @@ -566,7 +566,7 @@ void ConfigDialog::wizard() QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) { QDir().mkdir(passStore); #ifdef Q_OS_WIN - SetFileAttributes(passStore, FILE_ATTRIBUTE_HIDDEN); + SetFileAttributes(passStore.toStdWString().c_str(), FILE_ATTRIBUTE_HIDDEN); #endif if(useGit()) { mainWindow->executePassGitInit(); |