summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Thomas <echidnaman@kubuntu.org>2010-05-27 11:07:43 -0400
committerJonathan Thomas <echidnaman@kubuntu.org>2010-05-27 11:07:43 -0400
commitae153a16ec6ecf667fb0137d813d3c52a0785c71 (patch)
tree514c3e39347471abf9215481a73ad468cc29de57
parentConst iterator fixes (diff)
downloadrekonq-ae153a16ec6ecf667fb0137d813d3c52a0785c71.tar.xz
Don't use QString::number(), KDE will format the numbers is an l10n-friendly fashion, QString::number() won't
-rw-r--r--src/bookmarks/bookmarksmanager.cpp2
-rw-r--r--src/bookmarks/bookmarkstreemodel.cpp2
-rw-r--r--src/history/historypanel.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp
index bac45b61..c430078b 100644
--- a/src/bookmarks/bookmarksmanager.cpp
+++ b/src/bookmarks/bookmarksmanager.cpp
@@ -103,7 +103,7 @@ void BookmarkOwner::openFolderinTabs(const KBookmarkGroup &bookmark)
i18ncp("%1=Number of tabs. Value is always >=8",
"You are about to open %1 tabs.\nAre you sure?",
"You are about to open %1 tabs.\nAre you sure?",
- QString::number( urlList.length() ))
+ urlList.length())
) == KMessageBox::Continue)
)
return;
diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp
index 4003cf3f..a865a99d 100644
--- a/src/bookmarks/bookmarkstreemodel.cpp
+++ b/src/bookmarks/bookmarkstreemodel.cpp
@@ -75,7 +75,7 @@ QVariant BtmItem::data(int role) const
}
if (m_kbm.isGroup())
{
- tooltip += i18nc("%1=Number of items in bookmark folder", " (%1 items)", QString::number(childCount()));
+ tooltip += i18nc("%1=Number of items in bookmark folder", " (%1 items)", childCount());
}
if (!m_kbm.url().url().isEmpty())
{
diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp
index 28284e0a..d8309eed 100644
--- a/src/history/historypanel.cpp
+++ b/src/history/historypanel.cpp
@@ -175,7 +175,7 @@ void HistoryPanel::openAll()
i18ncp("%1=Number of tabs. Value is always >=8",
"You are about to open %1 tabs.\nAre you sure?",
"You are about to open %1 tabs.\nAre you sure?",
- QString::number(allChild.length()))) == KMessageBox::Continue)
+ allChild.length())) == KMessageBox::Continue)
)
return;
}