Fix wrond schema versions.

This commit is contained in:
Martin Rotter 2017-10-31 20:21:01 +01:00
parent 5e20d3dd22
commit 9c18e37cce
3 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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);