From 0a2c646fd2304c687fa5f706b0a0ccd37c10504d Mon Sep 17 00:00:00 2001 From: coolo Date: Fri, 7 Dec 2007 09:49:24 +0000 Subject: [PATCH] init _noborder git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@42777 e0cc52ee-31ee-0310-8b87-e83c4596d67c --- src/YQUI_core.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/YQUI_core.cc b/src/YQUI_core.cc index cde9a19..e22a752 100644 --- a/src/YQUI_core.cc +++ b/src/YQUI_core.cc @@ -67,6 +67,7 @@ YQUI::YQUI( int argc, char **argv, bool with_threads, const char * macro_file ) _usingVisionImpairedPalette = false; _leftHandedMouse = false; _askedForLeftHandedMouse = false; + _noborder = false; screenShotNameTemplate = ""; blocked_level = 0; @@ -115,7 +116,9 @@ void YQUI::init_ui() calcDefaultSize(); _styler = new QY2Styler( qApp ); - // _styler->setStyleSheet( "style.qss" ); + QString style = getenv("Y2STYLE"); + if ( !style.isNull() ) + _styler->setStyleSheet( style ); // 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