diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-22 21:06:03 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-22 21:06:57 +0900 |
commit | 7f50a504c7c4b266f98d0a0f449e3025e7a263ea (patch) | |
tree | 5d05cadf0683b8f23151d27a41dbf150f81b77d1 | |
parent | 5fb74ca3d253b658fe77aaeb6a106cf6c0a9e7f0 (diff) | |
download | libquotient-7f50a504c7c4b266f98d0a0f449e3025e7a263ea.tar.gz libquotient-7f50a504c7c4b266f98d0a0f449e3025e7a263ea.zip |
Fix QString initialisation from QStringBuilder
You can't assign a QStringBuilder to auto.
-rw-r--r-- | lib/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.cpp b/lib/util.cpp index 5266af1e..af06013c 100644 --- a/lib/util.cpp +++ b/lib/util.cpp @@ -67,7 +67,7 @@ QString QMatrixClient::prettyPrint(const QString& plainText) QString QMatrixClient::cacheLocation(const QString& dirName) { - const auto cachePath = + const QString cachePath = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) % '/' % dirName % '/'; QDir dir; |