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/edit_box_msg_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/edit_box_msg_impl.cc')
-rw-r--r-- | gr-qtgui/lib/edit_box_msg_impl.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gr-qtgui/lib/edit_box_msg_impl.cc b/gr-qtgui/lib/edit_box_msg_impl.cc index e0c5f64b3d..084e2d4f34 100644 --- a/gr-qtgui/lib/edit_box_msg_impl.cc +++ b/gr-qtgui/lib/edit_box_msg_impl.cc @@ -73,11 +73,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); d_is_pair = is_pair; d_is_static = is_static; |