summaryrefslogtreecommitdiff
path: root/src/history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.cpp')
-rw-r--r--src/history.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/history.cpp b/src/history.cpp
index cb6e80b0..43714166 100644
--- a/src/history.cpp
+++ b/src/history.cpp
@@ -181,10 +181,12 @@ void HistoryManager::addHistoryItem(const HistoryItem &item)
-void HistoryManager::updateHistoryItem(const QUrl &url, const QString &title)
+void HistoryManager::updateHistoryItem(const KUrl &url, const QString &title)
{
- for (int i = 0; i < m_history.count(); ++i) {
- if (url == m_history.at(i).url) {
+ for (int i = 0; i < m_history.count(); ++i)
+ {
+ if (url == m_history.at(i).url)
+ {
m_history[i].title = title;
m_saveTimer->changeOccurred();
if (m_lastSavedUrl.isEmpty())
@@ -654,7 +656,7 @@ void HistoryMenu::postPopulated()
void HistoryMenu::showHistoryDialog()
{
HistoryDialog *dialog = new HistoryDialog(this);
- connect(dialog, SIGNAL(openUrl(const QUrl&)), this, SIGNAL(openUrl(const QUrl&)));
+ connect(dialog, SIGNAL(openUrl(const KUrl&)), this, SIGNAL(openUrl(const KUrl&)));
dialog->show();
}