diff --git a/src/app/cmdoptions.cpp b/src/app/cmdoptions.cpp
index 532f2a0a9..ffb7b8c7c 100644
--- a/src/app/cmdoptions.cpp
+++ b/src/app/cmdoptions.cpp
@@ -565,7 +565,6 @@ QString makeUsage(const QString &prgName)
<< QLatin1String("QBT_NO_SPLASH=1 ") << prgName << '\n'
<< wrapText(QObject::tr("Command line parameters take precedence over environment variables"), 0) << '\n';
- stream << flush;
return text;
}
diff --git a/src/gui/search/searchwidget.cpp b/src/gui/search/searchwidget.cpp
index af12f85cf..9e4ab965a 100644
--- a/src/gui/search/searchwidget.cpp
+++ b/src/gui/search/searchwidget.cpp
@@ -99,7 +99,7 @@ SearchWidget::SearchWidget(MainWindow *mainWindow)
<< tr(""foo bar": search for foo bar",
"Search phrase example, illustrates quotes usage, double quoted"
"pair of space delimited words, the whole pair is highlighted")
- << "