From cd91925dcdd76e081fe071bcde3f293cbb21e3eb Mon Sep 17 00:00:00 2001
From: Jarek Kobus <jaroslaw.kobus@nokia.com>
Date: Thu, 30 Aug 2012 11:08:26 +0200
Subject: [PATCH] Fix source strings

Change-Id: I3c96c467f79fa7722c270a5887997294a7042adc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
---
 src/plugins/debugger/debuggerdialogs.cpp | 2 +-
 src/plugins/find/searchresultwidget.cpp  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/debugger/debuggerdialogs.cpp b/src/plugins/debugger/debuggerdialogs.cpp
index d8e8d7f3c1a..f27b8c00e47 100644
--- a/src/plugins/debugger/debuggerdialogs.cpp
+++ b/src/plugins/debugger/debuggerdialogs.cpp
@@ -244,7 +244,7 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
     d->debuginfoPathChooser = new PathChooser(this);
     d->debuginfoPathChooser->setPromptDialogTitle(tr("Select Location of Debugging Information"));
     d->debuginfoPathChooser->setToolTip(tr(
-        "Base path for external debug information and debug sources."
+        "Base path for external debug information and debug sources. "
         "If empty, $SYSROOT/usr/lib/debug will be chosen."));
 
     QFrame *line = new QFrame(this);
diff --git a/src/plugins/find/searchresultwidget.cpp b/src/plugins/find/searchresultwidget.cpp
index 4c6bfe18809..384f263dcf2 100644
--- a/src/plugins/find/searchresultwidget.cpp
+++ b/src/plugins/find/searchresultwidget.cpp
@@ -242,8 +242,8 @@ void SearchResultWidget::addResults(const QList<SearchResultItem> &items, Search
         m_sizeWarningActive = true;
         emit paused(true);
         Core::InfoBarEntry info(QLatin1String(SIZE_WARNING_ID),
-                                tr("The search resulted in more than %1 items, do you still want to continue?")
-                                .arg(SEARCHRESULT_WARNING_LIMIT));
+                                tr("The search resulted in more than %n items, do you still want to continue?",
+                                0, SEARCHRESULT_WARNING_LIMIT));
         info.setCancelButtonInfo(tr("Cancel"), this, SLOT(cancelAfterSizeWarning()));
         info.setCustomButtonInfo(tr("Continue"), this, SLOT(continueAfterSizeWarning()));
         m_infoBar.addInfo(info);
-- 
GitLab