on xenial help sign in
fix init code
commitab01b517c5c61b87c15d3c7dc1e29cf4daf679a7 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 10 Feb 2015, 18:14 (12 years ago) parent7d9f891
1 file changed+2−2
plugins/Utils/windowstatestorage.cpp+2−2
plugins/Utils/windowstatestorage.cpp+2−2
@@ -86,8 +86,8 @@ void WindowStateStorage::initdb()
8686 return;
8787 }
8888
89− if (!m_db.tables().contains("windowproperties")) {
89+ if (!m_db.tables().contains("geometry")) {
9090 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);");
9292 }
9393}