mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix style issues on some plateforme
This commit is contained in:
+2
-9
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user