diff options
author | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-27 10:41:57 -0400 |
---|---|---|
committer | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-27 10:41:57 -0400 |
commit | 3e1ea4e6b0b09c8c2ccbfdbabd50c5069c029707 (patch) | |
tree | 1d972906b73861ec3e7b455c616169b60953513a /src/mainview.cpp | |
parent | Merge commit 'refs/merge-requests/2285' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-3e1ea4e6b0b09c8c2ccbfdbabd50c5069c029707.tar.xz |
Encapsulate single characters in single quotes, since passing a char to QString is more efficient than passing a one-character string.
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 0bc6fbde..84dc70af 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -596,7 +596,7 @@ void MainView::webViewTitleChanged(const QString &title) { QString viewTitle = title.isEmpty()? i18n("(Untitled)") : title; QString tabTitle = viewTitle; - tabTitle.replace("&", "&&"); + tabTitle.replace('&', "&&"); WebView *view = qobject_cast<WebView *>(sender()); int index = indexOf(view->parentWidget()); |