From 9c18e37cce60445337822386bc95bec080732250 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 31 Oct 2017 20:21:01 +0100 Subject: [PATCH] Fix wrond schema versions. --- resources/sql/db_init_mysql.sql | 2 +- resources/sql/db_init_sqlite.sql | 2 +- src/gui/messagesview.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/sql/db_init_mysql.sql b/resources/sql/db_init_mysql.sql index 6d965be04..b8c1fb522 100644 --- a/resources/sql/db_init_mysql.sql +++ b/resources/sql/db_init_mysql.sql @@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS Information ( inf_value TEXT NOT NULL ); -- ! -INSERT INTO Information VALUES (1, 'schema_version', '8'); +INSERT INTO Information VALUES (1, 'schema_version', '11'); -- ! CREATE TABLE IF NOT EXISTS Accounts ( id INTEGER PRIMARY KEY, diff --git a/resources/sql/db_init_sqlite.sql b/resources/sql/db_init_sqlite.sql index dd73d3d09..47cbf6533 100644 --- a/resources/sql/db_init_sqlite.sql +++ b/resources/sql/db_init_sqlite.sql @@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS Information ( inf_value TEXT NOT NULL ); -- ! -INSERT INTO Information VALUES (1, 'schema_version', '8'); +INSERT INTO Information VALUES (1, 'schema_version', '11'); -- ! CREATE TABLE IF NOT EXISTS Accounts ( id INTEGER PRIMARY KEY, diff --git a/src/gui/messagesview.cpp b/src/gui/messagesview.cpp index 009bc4a82..92cb2e151 100755 --- a/src/gui/messagesview.cpp +++ b/src/gui/messagesview.cpp @@ -81,7 +81,6 @@ void MessagesView::createConnections() { } void MessagesView::keyboardSearch(const QString& search) { - // WARNING: This is quite hacky way how to force selection of next item even // with extended selection enabled. setSelectionMode(QAbstractItemView::SingleSelection);