summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-20 11:17:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-20 11:17:13 +0200
commit931541b7d58f747e09c59450f666fb34985d0536 (patch)
tree83c164bc87dcdd1579d89a432d249bb1eb1fb35c
parent1248e901aaf4fdb720b3fa201574aa24df4d4524 (diff)
don't say "tracker offline" twice
-rw-r--r--facetracknoir/options-dialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/facetracknoir/options-dialog.cpp b/facetracknoir/options-dialog.cpp
index 10fbbed6..f77c7cc1 100644
--- a/facetracknoir/options-dialog.cpp
+++ b/facetracknoir/options-dialog.cpp
@@ -181,9 +181,8 @@ void OptionsDialog::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("");
}
}