summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2011-06-09 09:42:49 +0200
committerMontel Laurent <montel@kde.org>2011-06-09 09:42:49 +0200
commit584ac77cc49d0288781dd3a0128e853debeac288 (patch)
tree8c36d736401d901a36e38ae77d2546620598054a /src/mainwindow.cpp
parentDon't close Bookmark Toolbar's subfolders on a click (diff)
downloadrekonq-584ac77cc49d0288781dd3a0128e853debeac288.tar.xz
Make it compiles with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS"
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e401a93e..a419151c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -490,7 +490,7 @@ void MainWindow::setupActions()
{
a = new KAction(i18n("Switch to Tab %1", i), this);
a->setShortcut(KShortcut(QString("Alt+%1").arg(i)));
- actionCollection()->addAction(QL1S(("switch_tab_" + QString::number(i)).toAscii()), a);
+ actionCollection()->addAction(QL1S(QString("switch_tab_" + QString::number(i)).toAscii()), a);
connect(a, SIGNAL(triggered(bool)), tabSignalMapper, SLOT(map()));
tabSignalMapper->setMapping(a, i);
}
@@ -502,7 +502,7 @@ void MainWindow::setupActions()
{
a = new KAction(i18n("Switch to Favorite Page %1", i), this);
a->setShortcut(KShortcut(QString("Ctrl+%1").arg(i)));
- actionCollection()->addAction(QL1S(("switch_favorite_" + QString::number(i)).toAscii()), a);
+ actionCollection()->addAction(QL1S(QString("switch_favorite_" + QString::number(i)).toAscii()), a);
connect(a, SIGNAL(triggered(bool)), favoritesSignalMapper, SLOT(map()));
favoritesSignalMapper->setMapping(a, i);
}
@@ -997,7 +997,7 @@ void MainWindow::viewPageSource()
out << code;
}
- KRun::runUrl(QL1S("file://") + temp.fileName(), QL1S("text/plain"), this, false);
+ KRun::runUrl(QString(QL1S("file://") + temp.fileName()), QL1S("text/plain"), this, false);
return;
}