Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 681a9be9 authored by Laurent Montel's avatar Laurent Montel 😁

Try to fix Bug 342803 - kmail tray icon tiny with QHD display

BUG: 342803
parent 11c38952
......@@ -205,7 +205,10 @@ void KMSystemTray::updateCount()
if (mShowUnreadMailCount) {
const int overlaySize = KIconLoader::SizeSmallMedium;
int overlaySize = KIconLoader::SizeSmallMedium;
if (!mIcon.availableSizes().isEmpty()) {
overlaySize = mIcon.availableSizes().at(0).width();
const QString countString = QString::number( mCount );
QFont countFont = KGlobalSettings::generalFont();
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