show changelog fix

This commit is contained in:
fourtf 2018-06-23 23:26:09 +02:00
parent c121eba15d
commit b056a07f65

View file

@ -257,10 +257,10 @@ void Window::showEvent(QShowEvent *event)
if (box->exec() == QMessageBox::Yes) { if (box->exec() == QMessageBox::Yes) {
QDesktopServices::openUrl(QUrl("https://fourtf.com/chatterino-changelog/")); QDesktopServices::openUrl(QUrl("https://fourtf.com/chatterino-changelog/"));
} }
getApp()->settings->currentVersion.setValue(CHATTERINO_VERSION);
} }
getApp()->settings->currentVersion.setValue(CHATTERINO_VERSION);
BaseWindow::showEvent(event); BaseWindow::showEvent(event);
} }