diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-20 12:57:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-20 12:57:50 +0200 |
commit | 4b7fe56f5e1015bf29a65aba5ded6e029f26c859 (patch) | |
tree | 019c1b2f91d6720e5b8eb597de7a97955531b54a | |
parent | 513ef3ab3ad8231b783905f7ddd7a83d6ef1ae1f (diff) |
pt: display label only once
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp index 780e997b..ef680ff4 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp @@ -150,9 +150,8 @@ void TrackerDialog_PT::poll_tracker_info() } else { - QString to_print = "Tracker offline"; - ui.caminfo_label->setText(to_print); - ui.pointinfo_label->setText(to_print); + ui.caminfo_label->setText("Tracker offline"); + ui.pointinfo_label->setText(""); } } |