From e6c32bc0574d3e1010f5c99a19786ddd420025c5 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Thu, 19 Jun 2014 18:23:16 +0000 Subject: [PATCH] Background set to use System Palette git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3151 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index 9c50bf71a..d96d17e20 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -950,7 +950,7 @@ void QETApp::useSystemPalette(bool use) { // reapplique les feuilles de style setStyleSheet( "QAbstractScrollArea#mdiarea {" - " background-color:#D5D2D1;" + " background-color -> setPalette(initial_palette_);" " background-image: url(':/ico/mdiarea_bg.png');" " background-repeat: no-repeat;" " background-position: center middle;"