From fca4cccfc4d94fbcdee93e0e05ac638d899f6bc4 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 30 Nov 2018 16:03:20 +0000 Subject: [PATCH] Make sure T/R period progress bar doesn't obscure temporary status messages --- widgets/mainwindow.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 664208252..7e5e38bfa 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1645,7 +1645,9 @@ void MainWindow::showSoundOutError(const QString& errorMsg) } void MainWindow::showStatusMessage(const QString& statusMsg) -{statusBar()->showMessage(statusMsg);} +{ + statusBar()->showMessage(statusMsg, 5000); +} void MainWindow::on_actionSettings_triggered() //Setup Dialog { @@ -2106,8 +2108,8 @@ void MainWindow::createStatusBar() //createStatusBar band_hopping_label.setMinimumSize (QSize {90, 18}); band_hopping_label.setFrameStyle (QFrame::Panel | QFrame::Sunken); - statusBar()->addPermanentWidget(&progressBar, 1); - progressBar.setMinimumSize (QSize {100, 18}); + statusBar()->addPermanentWidget(&progressBar); + progressBar.setMinimumSize (QSize {150, 18}); progressBar.setFormat ("%v/%m"); statusBar ()->addPermanentWidget (&watchdog_label);