Preparing for windows package

This commit is contained in:
Bay Dam
2016-03-26 18:34:22 +01:00
parent 5f2157f0c2
commit 94211340b5
5 changed files with 72 additions and 14 deletions

View File

@@ -1902,6 +1902,11 @@ void MainWindow::createToolBars()
// Add toolbars.
addToolBar(Qt::TopToolBarArea, mainToolBar);
// XXX: style hack on Windows
#ifdef WIN32
mainToolBar->setStyleSheet("border-color: #272a36;");
#endif
}
void MainWindow::createStatusBar()
@@ -1933,6 +1938,11 @@ 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();
}