From bb2621d86e20d8bd4a64121f3c6a1cd5896ee4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 20 Nov 2019 17:01:56 +0100 Subject: [PATCH] Fix a potentially empty translation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- karm/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karm/mainwindow.cpp b/karm/mainwindow.cpp index 55fadbc0..9c892f18 100644 --- a/karm/mainwindow.cpp +++ b/karm/mainwindow.cpp @@ -136,7 +136,7 @@ void MainWindow::slotSelectionChanged() void MainWindow::setStatusBar(TQString qs) { - statusBar()->message(i18n(qs.ascii())); + statusBar()->message(qs.isEmpty() ? "" : i18n(qs.ascii())); } bool MainWindow::save()