From 0872fbf6fc217fabe629ff28324b5dedae808ecc Mon Sep 17 00:00:00 2001 From: Albert Tomanek Date: Mon, 17 Aug 2026 18:36:33 +0200 Subject: [PATCH] Make toolbar flat under Aero themes --- src/ui/MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/MainWindow.cpp b/src/ui/MainWindow.cpp index bb84c1d..1c066ab 100644 --- a/src/ui/MainWindow.cpp +++ b/src/ui/MainWindow.cpp @@ -371,6 +371,7 @@ void MainWindow::buildMenus() { void MainWindow::buildToolbar() { auto *tb = addToolBar("Main"); + tb->setProperty("_Aero_flat", "true"); tb->setMovable(false); tb->setFloatable(false); tb->setIconSize(QSize(16, 16)); @@ -503,4 +504,4 @@ void MainWindow::showProperties() { void MainWindow::refresh() { statusBar()->showMessage("Scanning for hardware..."); startScan(); -} \ No newline at end of file +}