From 5641cf4d9e023bbecd399151e821bb673fc6673d Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sun, 11 Oct 2020 20:21:22 +0200 Subject: [PATCH] Windows: no seperators between statusbar widgets --- src/mainwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 64bd35e..5f2618e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -710,6 +710,11 @@ void MainWindow::onCreateTransactionError(const QString &message) { } void MainWindow::create_status_bar() { +#if defined(Q_OS_WIN) + // No seperators between statusbar widgets + this->statusBar()->setStyleSheet("QStatusBar::item {border: None;}"); +#endif + this->statusBar()->setFixedHeight(30); m_statusLabelStatus = new QLabel("Idle", this);