minor changes

This commit is contained in:
fourtf
2018-07-05 18:17:12 +02:00
parent 42550129e7
commit eeb514c444
8 changed files with 98 additions and 81 deletions
+5 -4
View File
@@ -25,13 +25,14 @@ void initUpdateButton(RippleEffectButton &button, std::unique_ptr<UpdateDialog>
case UpdateDialog::Dismiss: {
button.hide();
} break;
case UpdateDialog::Install: {
Updates::getInstance().installUpdates();
} break;
}
});
#ifdef Q_OS_WIN
handle.reset(dialog);
dialog->closing.connect([&handle] { handle.release(); });
#endif
// handle.reset(dialog);
// dialog->closing.connect([&handle] { handle.release(); });
});
// update image when state changes