Bugfixes: Don't name new receipts "Test", set window title for add entry dialog

develop
tastytea 2018-10-14 03:17:21 +02:00
parent 140d061b76
commit 768ba4d42b
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.6)
project (whyblocked
VERSION 0.7.4
VERSION 0.7.5
LANGUAGES CXX
)

View File

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

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
<string>Add entry</string>
</property>
<property name="locale">
<locale language="English" country="UnitedKingdom"/>