From 2ff847a3c8d2b1243118415063317293437675fa Mon Sep 17 00:00:00 2001 From: coolo Date: Tue, 11 Dec 2007 20:47:38 +0000 Subject: [PATCH] change the default to style for the moment git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@43000 e0cc52ee-31ee-0310-8b87-e83c4596d67c --- src/YQUI_core.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/YQUI_core.cc b/src/YQUI_core.cc index 2eaec47..1bdbc80 100644 --- a/src/YQUI_core.cc +++ b/src/YQUI_core.cc @@ -114,8 +114,10 @@ void YQUI::init_ui() _styler = new QY2Styler( qApp ); QString style = getenv("Y2STYLE"); - if ( !style.isNull() ) + if ( !style.isEmpty() ) _styler->setStyleSheet( style ); + else + _styler->setStyleSheet( "style.qss" ); // Event loop object. Required since a YaST2 UI needs to react to commands // from the YCP command stream as well as to X11 / Qt events. -- 2.39.2