Author: coolo Date: Tue Dec 11 21:47:38 2007 New Revision: 43000 URL: http://svn.opensuse.org/viewcvs/yast?rev=43000&view=rev Log: change the default to style for the moment Modified: trunk/qt4/src/YQUI_core.cc Modified: trunk/qt4/src/YQUI_core.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/YQUI_core.cc?rev=43000&r1=42999&r2=43000&view=diff ============================================================================== --- trunk/qt4/src/YQUI_core.cc (original) +++ trunk/qt4/src/YQUI_core.cc Tue Dec 11 21:47:38 2007 @@ -114,8 +114,10 @@ _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. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org