diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2016-10-14 10:24:51 -0400 |
---|---|---|
committer | Tim O'Shea <tim.oshea753@gmail.com> | 2016-10-14 10:24:51 -0400 |
commit | d61943cd71caded7db122b1f8c9d168bf7fd3481 (patch) | |
tree | d8b1fe5d40739d44a7bb3a6117a66bc614e464b4 /gr-qtgui/lib/histogram_sink_f_impl.cc | |
parent | ce354379fee28872ea103eafa9164e6fc1ea54a1 (diff) |
qtgui: make sure QSS style is applied to Qt gui even when no plotter is attached
Diffstat (limited to 'gr-qtgui/lib/histogram_sink_f_impl.cc')
-rw-r--r-- | gr-qtgui/lib/histogram_sink_f_impl.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gr-qtgui/lib/histogram_sink_f_impl.cc b/gr-qtgui/lib/histogram_sink_f_impl.cc index 4a1267c129..cd48de8666 100644 --- a/gr-qtgui/lib/histogram_sink_f_impl.cc +++ b/gr-qtgui/lib/histogram_sink_f_impl.cc @@ -123,11 +123,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 HistogramDisplayForm(numplots, d_parent); |