Minor code style fix
This commit is contained in:
@@ -55,7 +55,7 @@ QtSystemTrayIcon::QtSystemTrayIcon(QObject *parent)
|
|||||||
|
|
||||||
app_name_[0] = app_name_[0].toUpper();
|
app_name_[0] = app_name_[0].toUpper();
|
||||||
QIcon theme_icon_grey = IconLoader::Load("strawberry-grey");
|
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);
|
grey_icon_ = theme_icon_grey.pixmap(48, QIcon::Disabled);
|
||||||
}
|
}
|
||||||
tray_->setIcon(normal_icon_);
|
tray_->setIcon(normal_icon_);
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ PlaylistView::PlaylistView(QWidget *parent)
|
|||||||
dynamic_controls_->hide();
|
dynamic_controls_->hide();
|
||||||
|
|
||||||
// To proper scale all pixmaps
|
// To proper scale all pixmaps
|
||||||
device_pixel_ratio_ = devicePixelRatioF();
|
device_pixel_ratio_ = devicePixelRatioF();
|
||||||
|
|
||||||
// For fading
|
// For fading
|
||||||
connect(fade_animation_, SIGNAL(valueChanged(qreal)), SLOT(FadePreviousBackgroundImage(qreal)));
|
connect(fade_animation_, SIGNAL(valueChanged(qreal)), SLOT(FadePreviousBackgroundImage(qreal)));
|
||||||
|
|||||||
Reference in New Issue
Block a user