Fix compilation with Qt < 6.6
This commit is contained in:
parent
8372dfbcaa
commit
dee94844be
|
@ -639,11 +639,13 @@ bool TrayWidget::event(QEvent *event)
|
|||
m_menu->icon()->updateStatusIconAndText();
|
||||
}
|
||||
break;
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
|
||||
case QEvent::DevicePixelRatioChange:
|
||||
setLabelPixmaps();
|
||||
setTrafficPixmaps(true);
|
||||
IconManager::instance().update();
|
||||
break;
|
||||
#endif
|
||||
default:;
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Reference in New Issue