on xenial help sign in
restore the same old path behavior (~/.cache/unity8)
commite80cbb732f96b702255475fac6931498c8d59443 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 16 Dec 2016, 17:16 (10 years ago) parent0329a08
1 file changed+1−1
plugins/Utils/windowstatestorage.cpp+1−1
plugins/Utils/windowstatestorage.cpp+1−1
@@ -36,7 +36,7 @@ inline QString sanitiseString(QString string) {
3636WindowStateStorage::WindowStateStorage(QObject *parent):
3737 QObject(parent)
3838{
39− const QString dbPath = QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
39+ const QString dbPath = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QStringLiteral("/unity8/");
4040 m_db = QSqlDatabase::addDatabase(QStringLiteral("QSQLITE"));
4141 QDir dir;
4242 dir.mkpath(dbPath);