Bugfixes: Don't name new receipts "Test", set window title for add entry dialog
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
140d061b76
commit
768ba4d42b
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.6)
|
cmake_minimum_required (VERSION 3.6)
|
||||||
project (whyblocked
|
project (whyblocked
|
||||||
VERSION 0.7.4
|
VERSION 0.7.5
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,7 @@ const dialogdata DialogAdd::get_data()
|
||||||
|
|
||||||
void DialogAdd::add_receipt()
|
void DialogAdd::add_receipt()
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = new QListWidgetItem("Test");
|
QListWidgetItem *item = new QListWidgetItem(tr("Insert receipt here."));
|
||||||
item->setFlags(item->flags() | Qt::ItemIsEditable);
|
item->setFlags(item->flags() | Qt::ItemIsEditable);
|
||||||
list_receipts->insertItem(list_receipts->count(), item);
|
list_receipts->insertItem(list_receipts->count(), item);
|
||||||
list_receipts->editItem(item);
|
list_receipts->editItem(item);
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog</string>
|
<string>Add entry</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="locale">
|
<property name="locale">
|
||||||
<locale language="English" country="UnitedKingdom"/>
|
<locale language="English" country="UnitedKingdom"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user