mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-19 13:01:32 +01:00
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;
|
||||
|
||||
if (a.isRunning()) {
|
||||
if (options.is_empty())
|
||||
if (options.is_empty()) {
|
||||
qDebug() << "Clementine is already running - activating existing window";
|
||||
if (a.sendMessage(options.Serialize()))
|
||||
}
|
||||
if (a.sendMessage(options.Serialize())) {
|
||||
return 0;
|
||||
}
|
||||
// Couldn't send the message so start anyway
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ void SettingsDialog::accept() {
|
||||
#endif
|
||||
|
||||
// Notifications
|
||||
OSD::Behaviour osd_behaviour;
|
||||
OSD::Behaviour 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_tray->isChecked()) osd_behaviour = OSD::TrayPopup;
|
||||
|
Loading…
Reference in New Issue
Block a user