summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/const_sink_c_impl.cc
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2016-10-14 10:24:51 -0400
committerTim O'Shea <tim.oshea753@gmail.com>2016-10-14 10:24:51 -0400
commitd61943cd71caded7db122b1f8c9d168bf7fd3481 (patch)
treed8b1fe5d40739d44a7bb3a6117a66bc614e464b4 /gr-qtgui/lib/const_sink_c_impl.cc
parentce354379fee28872ea103eafa9164e6fc1ea54a1 (diff)
qtgui: make sure QSS style is applied to Qt gui even when no plotter is attached
Diffstat (limited to 'gr-qtgui/lib/const_sink_c_impl.cc')
-rw-r--r--gr-qtgui/lib/const_sink_c_impl.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc
index eaaf5f570a..63777d7827 100644
--- a/gr-qtgui/lib/const_sink_c_impl.cc
+++ b/gr-qtgui/lib/const_sink_c_impl.cc
@@ -136,11 +136,7 @@ namespace gr {
}
// If a style sheet is set in the prefs file, enable it here.
- std::string qssfile = prefs::singleton()->get_string("qtgui","qss","");
- if(qssfile.size() > 0) {
- QString sstext = get_qt_style_sheet(QString(qssfile.c_str()));
- d_qApplication->setStyleSheet(sstext);
- }
+ check_set_qss(d_qApplication);
int numplots = (d_nconnections > 0) ? d_nconnections : 1;
d_main_gui = new ConstellationDisplayForm(numplots, d_parent);