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) ...@@ -78,6 +78,8 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
/* Build Ui */ /* Build Ui */
ui.setupUi( this ); ui.setupUi( this );
ui.bottomButtonsBox->addButton( new QPushButton( qtr("&Close"), this ),
QDialogButtonBox::RejectRole );
updateTree(); updateTree();
/* Modules tree */ /* Modules tree */
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<item> <item>
<widget class="QDialogButtonBox" name="bottomButtonsBox"> <widget class="QDialogButtonBox" name="bottomButtonsBox">
<property name="standardButtons"> <property name="standardButtons">
<set>QDialogButtonBox::Close</set> <set>QDialogButtonBox::NoButton</set>
</property> </property>
</widget> </widget>
</item> </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