Fix style issues on some plateforme

This commit is contained in:
baydam
2016-04-13 18:26:26 +00:00
parent 8c3b2dc47a
commit af917de543
2 changed files with 25 additions and 22 deletions
+2 -9
View File
@@ -1904,10 +1904,8 @@ void MainWindow::createToolBars()
// Add toolbars.
addToolBar(Qt::TopToolBarArea, mainToolBar);
// XXX: style hack on Windows
#ifdef WIN32
mainToolBar->setStyleSheet("border-color: #272a36;");
#endif
// XXX: style hack
mainToolBar->setStyleSheet("border-bottom: solid 5px #272a36;");
}
void MainWindow::createStatusBar()
@@ -1939,11 +1937,6 @@ void MainWindow::createStatusBar()
statusBar()->addPermanentWidget(sourceZoomLabel, 1);
statusBar()->addPermanentWidget(destinationZoomLabel, 1);
// XXX: style hack on Windows
#ifdef WIN32
statusBar()->setStyleSheet("background: #FFF;");
#endif
// Update the status bar
updateStatusBar();
}