mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-12 18:49:08 +02:00
Preparing for windows package
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user