Fix a couple of warnings
This commit is contained in:
parent
174d66f30f
commit
449de3f34a
@ -115,10 +115,12 @@ int main(int argc, char *argv[]) {
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (a.isRunning()) {
|
if (a.isRunning()) {
|
||||||
if (options.is_empty())
|
if (options.is_empty()) {
|
||||||
qDebug() << "Clementine is already running - activating existing window";
|
qDebug() << "Clementine is already running - activating existing window";
|
||||||
if (a.sendMessage(options.Serialize()))
|
}
|
||||||
|
if (a.sendMessage(options.Serialize())) {
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
// Couldn't send the message so start anyway
|
// Couldn't send the message so start anyway
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ void SettingsDialog::accept() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Notifications
|
// Notifications
|
||||||
OSD::Behaviour osd_behaviour;
|
OSD::Behaviour osd_behaviour = OSD::Disabled;
|
||||||
if (ui_.notifications_none->isChecked()) osd_behaviour = OSD::Disabled;
|
if (ui_.notifications_none->isChecked()) osd_behaviour = OSD::Disabled;
|
||||||
else if (ui_.notifications_native->isChecked()) osd_behaviour = OSD::Native;
|
else if (ui_.notifications_native->isChecked()) osd_behaviour = OSD::Native;
|
||||||
else if (ui_.notifications_tray->isChecked()) osd_behaviour = OSD::TrayPopup;
|
else if (ui_.notifications_tray->isChecked()) osd_behaviour = OSD::TrayPopup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user