From 768ba4d42b70779b09b4308c2b88d9d8c57aef94 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 14 Oct 2018 03:17:21 +0200 Subject: [PATCH] Bugfixes: Don't name new receipts "Test", set window title for add entry dialog --- CMakeLists.txt | 2 +- src/interface_qt.cpp | 2 +- src/whyblocked_add.ui | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e26512..109a27c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.6) project (whyblocked - VERSION 0.7.4 + VERSION 0.7.5 LANGUAGES CXX ) diff --git a/src/interface_qt.cpp b/src/interface_qt.cpp index 88a8867..713e79b 100644 --- a/src/interface_qt.cpp +++ b/src/interface_qt.cpp @@ -193,7 +193,7 @@ const dialogdata DialogAdd::get_data() void DialogAdd::add_receipt() { - QListWidgetItem *item = new QListWidgetItem("Test"); + QListWidgetItem *item = new QListWidgetItem(tr("Insert receipt here.")); item->setFlags(item->flags() | Qt::ItemIsEditable); list_receipts->insertItem(list_receipts->count(), item); list_receipts->editItem(item); diff --git a/src/whyblocked_add.ui b/src/whyblocked_add.ui index 838af6b..04c930e 100644 --- a/src/whyblocked_add.ui +++ b/src/whyblocked_add.ui @@ -11,7 +11,7 @@ - Dialog + Add entry