More UnifiedTitleToolbar Fixups

.. fix preferences dialog toolbar
.. dodgy stylesheet fixed in MainWindow
This commit is contained in:
Mark Liversedge
2014-02-13 12:11:45 +00:00
parent cbff5c9476
commit 757bb7d875
2 changed files with 4 additions and 2 deletions

View File

@@ -246,8 +246,8 @@ MainWindow::MainWindow(const QDir &home)
head->setStyleSheet(" QToolBar:active { border: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #C6C6C6, stop: 1 #A5A5A5 ); } "
" QToolBar:!active { border: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D9D9D9, stop: 1 #D6D6D6 ); } ");
#else
head->setStyleSheet(" QToolBar:!active { border: 0px; black; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F0F0F0, stop: 1 #E8E8E8 ); } "
" QToolBar:active { border: 0px; black; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D9D9D9, stop: 1 #A5A5A5 ); } ");
head->setStyleSheet(" QToolBar:!active { border: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F0F0F0, stop: 1 #E8E8E8 ); } "
" QToolBar:active { border: 0px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D9D9D9, stop: 1 #A5A5A5 ); } ");
#endif
// widgets