mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
parent
024ffde08d
commit
0567f669c2
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ main(int argc, char *argv[])
|
||||||
// Move the MainWindow to the center
|
// Move the MainWindow to the center
|
||||||
w.move(screenCenter(w.width(), w.height()));
|
w.move(screenCenter(w.width(), w.height()));
|
||||||
|
|
||||||
if (!settings.lock()->startInTray() && !settings.lock()->tray())
|
if (!(settings.lock()->startInTray() && settings.lock()->tray()))
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {
|
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {
|
||||||
|
|
Loading…
Reference in a new issue