diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-05 00:27:23 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-05 00:27:23 +0100 |
commit | b9f8ccd9099fa48406203ad5c5389266b3318d88 (patch) | |
tree | 3725c935fb14346301df79f1ec8fb4e6eebca66f /src/history.cpp | |
parent | New Bookmarks menu, sharing bkmrs with Konqueror (diff) | |
download | rekonq-b9f8ccd9099fa48406203ad5c5389266b3318d88.tar.xz |
QUrl --> KUrl!
Diffstat (limited to 'src/history.cpp')
-rw-r--r-- | src/history.cpp | 10 |
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(); } |