Fix segfault on Windows

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3162 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-06-22 14:42:30 +00:00
parent efa2854f40
commit 088c7f85e6
2 changed files with 2 additions and 15 deletions

View File

@@ -954,12 +954,12 @@ void QETApp::useSystemPalette(bool use) {
"}"
);
} else {
setPalette(style() -> standardPalette());
setStyleSheet(
"QTabBar::tab:!selected { background-color: transparent; }"
"QMainWindow{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }"
"QListView{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(130, 160, 210)); }"
"QAbstractScrollArea#mdiarea {"
" background-color -> setPalette(initial_palette_);"
" background-image: url(':/ico/mdiarea_bg.png');"
" background-repeat: no-repeat;"