on xenial help sign in
fix init code
ab01b51Michael Zanetti
plugins/Utils/windowstatestorage.cpp+2−2
@@ -86,8 +86,8 @@ void WindowStateStorage::initdb()
86 return;
86 return;
87 }
87 }
88
88
89− if (!m_db.tables().contains("windowproperties")) {
89+ if (!m_db.tables().contains("geometry")) {
90 QSqlQuery query;
90 QSqlQuery query;
91− query.exec("CREATE TABLE IF NOT EXISTS geometry(windowId TEXT UNIQUE, x INTEGER, y INTEGER, width INTEGER, height INTEGER);");
91+ query.exec("CREATE TABLE geometry(windowId TEXT UNIQUE, x INTEGER, y INTEGER, width INTEGER, height INTEGER);");
92 }
92 }
93}
93}