Small UX fixes

This commit is contained in:
Joseph Donofry 2021-02-01 18:57:59 -05:00
parent 53c653a228
commit 1127aa7c91
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 5 additions and 3 deletions

View file

@ -18,10 +18,12 @@ Item {
screenSaverTimer.stop();
screenSaver.state = "Invisible";
} else {
if (timelineRoot.visible) {
screenSaverTimer.start();
}
}
}
}
Timer {
id: screenSaverTimer

View file

@ -59,6 +59,8 @@ MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, userSettings_{UserSettings::instance()}
{
instance_ = this;
setWindowTitle(0);
setObjectName("MainWindow");
@ -312,8 +314,6 @@ MainWindow::showChatPage()
&Cache::secretChanged,
userSettingsPage_,
&UserSettingsPage::updateSecretStatus);
instance_ = this;
}
void