From 55e069f2c8090f2e30f5df306a551e6c55a1cecb Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Sat, 9 May 2020 14:21:43 +0200 Subject: [PATCH] Hide count type --- app/SysTray-X/preferences.ui | 4 ++-- app/SysTray-X/preferencesdialog.cpp | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/SysTray-X/preferences.ui b/app/SysTray-X/preferences.ui index 7a3f31e..5c42016 100644 --- a/app/SysTray-X/preferences.ui +++ b/app/SysTray-X/preferences.ui @@ -327,7 +327,7 @@ - + Message count type: @@ -421,8 +421,8 @@ - + diff --git a/app/SysTray-X/preferencesdialog.cpp b/app/SysTray-X/preferencesdialog.cpp index 1b92b66..07b8a44 100644 --- a/app/SysTray-X/preferencesdialog.cpp +++ b/app/SysTray-X/preferencesdialog.cpp @@ -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 */