summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-06 14:14:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-06 14:14:57 +0200
commit44aff948064986c22f0090323b35a68cf89952fd (patch)
tree88276e0bbe6faab190f56e6eb3e0d06fa51ce9d4 /gui
parentfe5298dd106579e257c05fa6f0c8f63b10504a61 (diff)
gui/main-window: cleanup
Diffstat (limited to 'gui')
-rw-r--r--gui/main-window.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index 1f0b18af..94034bd6 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -336,8 +336,6 @@ void MainWindow::refresh_config_list()
return;
}
- set_title();
-
QString current = group::ini_filename();
{
@@ -358,6 +356,7 @@ void MainWindow::refresh_config_list()
ui.iconcomboProfile->setCurrentText(current);
}
+ set_title();
warn_on_config_not_writable();
}
@@ -521,9 +520,6 @@ void MainWindow::set_title(const QString& game_title_)
void MainWindow::showHeadPose()
{
- if (!ui.video_frame->isEnabled())
- return;
-
double mapped[6], raw[6];
work->tracker->get_raw_and_mapped_poses(mapped, raw);