summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-20 12:57:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-20 12:57:50 +0200
commit4b7fe56f5e1015bf29a65aba5ded6e029f26c859 (patch)
tree019c1b2f91d6720e5b8eb597de7a97955531b54a /ftnoir_tracker_pt
parent513ef3ab3ad8231b783905f7ddd7a83d6ef1ae1f (diff)
pt: display label only once
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp5
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("");
}
}