Commit 0782f130 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: messages: Use std button for close button

parent cf669337
......@@ -78,6 +78,8 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
/* Build Ui */
ui.setupUi( this );
ui.bottomButtonsBox->addButton( new QPushButton( qtr("&Close"), this ),
QDialogButtonBox::RejectRole );
updateTree();
/* Modules tree */
......
......@@ -111,7 +111,7 @@
<item>
<widget class="QDialogButtonBox" name="bottomButtonsBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
<set>QDialogButtonBox::NoButton</set>
</property>
</widget>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment