summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-11 16:44:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-11 16:44:31 +0200
commitc78bc3be30b69bdabcb647dec75e45dabc81484c (patch)
treea194f9351b8fc38795d47ee2520396319fdc99ee /facetracknoir/ui.cpp
parent0f8c7ac6658514cb85f69e6bd5b162aaac022530 (diff)
ui: add software update check and dialogtrackhat-1.1p1
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 1123d6d9..486cd2c4 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -25,7 +25,8 @@ MainWindow::MainWindow() :
pose_update_timer(this),
kbd_quit(QKeySequence("Ctrl+Q"), this),
no_feed_pixmap(":/images/no-feed.png"),
- is_refreshing_profiles(false)
+ is_refreshing_profiles(false),
+ update_query(this)
{
ui.setupUi(this);
@@ -92,6 +93,8 @@ MainWindow::MainWindow() :
QMessageBox::Ok, QMessageBox::NoButton);
ui.btnStartTracker->setFocus();
+
+ update_query.maybe_show_dialog();
}
void MainWindow::closeEvent(QCloseEvent *e)