summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/homepage.cpp2
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/rekonq.kcfg5
-rw-r--r--src/webview.cpp2
4 files changed, 7 insertions, 4 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index 398308be..e8608241 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -223,7 +223,7 @@ QString HomePage::fillHistory()
{
QModelIndex son = model->index(j, 0, index );
history += son.data(HistoryModel::DateTimeRole).toDateTime().toString("hh:mm");
- history += " ";
+ history += ' ';
history += QString("<a href=\"") + son.data(HistoryModel::UrlStringRole).toString() + QString("\">") +
son.data().toString() + QString("</a>");
history += "<br />";
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7601e80e..1b527d1a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1020,7 +1020,7 @@ void MainWindow::clearPrivateData()
kDebug() << path;
QDir cacheDir(path);
QStringList fileList = cacheDir.entryList();
- foreach(QString str, fileList)
+ foreach(const QString &str, fileList)
{
kDebug() << str;
QFile file(path + str);
diff --git a/src/rekonq.kcfg b/src/rekonq.kcfg
index 9e854f76..c55fce9c 100644
--- a/src/rekonq.kcfg
+++ b/src/rekonq.kcfg
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
-<kcfg>
+<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
+ http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<!-- Includes -->
<include>QtWebKit</include>
diff --git a/src/webview.cpp b/src/webview.cpp
index a2662399..9e06c9da 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -432,4 +432,4 @@ void WebView::keyPressEvent(QKeyEvent *event)
return;
}
QWebView::keyPressEvent(event);
-} \ No newline at end of file
+}