Skip to content

Commit

Permalink
Новая версия db
Browse files Browse the repository at this point in the history
  • Loading branch information
sv-91 committed Aug 13, 2019
1 parent dd64d8b commit 9e4e58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ void MainWindow::onShowNotification(const QString &title, const QString &message
{
BEGIN_SLOT_WRAPPER
CHECK(systemTray, "systemTray error");
LOG << "Notification: " << title << " " << message;
systemTray->showMessage(title, message, QSystemTrayIcon::Information, 5000);
END_SLOT_WRAPPER
}
Expand Down
2 changes: 1 addition & 1 deletion src/transactions/TransactionsDBRes.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace transactions {

static const QString databaseName = "payments";
static const QString databaseFileName = "payments.db";
static const int databaseVersion = 6;
static const int databaseVersion = 7;

static const QString createPaymentsTable = "CREATE TABLE payments ( "
"id INTEGER PRIMARY KEY NOT NULL, "
Expand Down

0 comments on commit 9e4e58a

Please sign in to comment.