diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-06 14:14:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-06 14:14:57 +0200 |
commit | 44aff948064986c22f0090323b35a68cf89952fd (patch) | |
tree | 88276e0bbe6faab190f56e6eb3e0d06fa51ce9d4 | |
parent | fe5298dd106579e257c05fa6f0c8f63b10504a61 (diff) |
gui/main-window: cleanup
-rw-r--r-- | gui/main-window.cpp | 6 |
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); |