Minor code style fix

This commit is contained in:
Jonas Kvinge
2020-11-11 22:55:56 +01:00
parent a4b115f89b
commit b3b5a38c3a
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ QtSystemTrayIcon::QtSystemTrayIcon(QObject *parent)
app_name_[0] = app_name_[0].toUpper();
QIcon theme_icon_grey = IconLoader::Load("strawberry-grey");
if (! theme_icon_grey.isNull()) {
if (!theme_icon_grey.isNull()) {
grey_icon_ = theme_icon_grey.pixmap(48, QIcon::Disabled);
}
tray_->setIcon(normal_icon_);

View File

@@ -215,7 +215,7 @@ PlaylistView::PlaylistView(QWidget *parent)
dynamic_controls_->hide();
// To proper scale all pixmaps
device_pixel_ratio_ = devicePixelRatioF();
device_pixel_ratio_ = devicePixelRatioF();
// For fading
connect(fade_animation_, SIGNAL(valueChanged(qreal)), SLOT(FadePreviousBackgroundImage(qreal)));