Hide count type

This commit is contained in:
Ximi1970
2020-05-09 14:21:43 +02:00
parent 5f18bf3d39
commit 55e069f2c8
2 changed files with 9 additions and 2 deletions

View File

@@ -327,7 +327,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="countTypeLabel">
<property name="text">
<string>Message count type:</string>
</property>
@@ -421,8 +421,8 @@
</connection>
</connections>
<buttongroups>
<buttongroup name="countTypeGroup"/>
<buttongroup name="minimizeTypeGroup"/>
<buttongroup name="countTypeGroup"/>
<buttongroup name="iconTypeGroup"/>
</buttongroups>
</ui>

View File

@@ -57,6 +57,13 @@ PreferencesDialog::PreferencesDialog( SysTrayXLink *link, Preferences *pref, QWi
m_ui->countTypeGroup->setId( m_ui->unreadRadioButton, Preferences::PREF_COUNT_UNREAD );
m_ui->countTypeGroup->setId( m_ui->newRadioButton, Preferences::PREF_COUNT_NEW );
/*
* Hide the count type for now
*/
m_ui->countTypeLabel->setVisible(false);
m_ui->unreadRadioButton->setVisible(false);
m_ui->newRadioButton->setVisible(false);
/*
* Set defaults
*/