aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/MainWindow.cpp')
-rw-r--r--src/ui/MainWindow.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/MainWindow.cpp b/src/ui/MainWindow.cpp
index 6b0977fd..852d705b 100644
--- a/src/ui/MainWindow.cpp
+++ b/src/ui/MainWindow.cpp
@@ -51,7 +51,7 @@ void MainWindow::init() noexcept {
networkAccessManager = new QNetworkAccessManager(this);
- /* get path were app was started */
+ /* get path where app was started */
setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
setCorner(Qt::BottomRightCorner, Qt::RightDockWidgetArea);
@@ -141,11 +141,13 @@ void MainWindow::init() noexcept {
connect(version_thread, SIGNAL(finished()), version_thread,
SLOT(deleteLater()));
connect(version_thread,
- SIGNAL(upgradeVersion(const QString&, const QString&)), this,
- SLOT(slotVersionUpgrade(const QString&, const QString&)));
+ &VersionCheckThread::upgradeVersion, this,
+ &MainWindow::slotVersionUpgrade));
version_thread->start();
+
#endif
+
} catch (...) {
LOG(FATAL) << _("Critical error occur while loading GpgFrontend.");
QMessageBox::critical(nullptr, _("Loading Failed"),