summaryrefslogtreecommitdiff
path: root/src/history.cpp
diff options
context:
space:
mode:
authoradjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-05-12 17:14:09 +0000
committeradjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-05-12 17:14:09 +0000
commite3ded2f37091e1fc8c8f988fb98c21020fee2261 (patch)
tree64ec1c62ea19b679de294844f23a052001f9765f /src/history.cpp
parentupdated CMakeLists.txt (diff)
downloadrekonq-e3ded2f37091e1fc8c8f988fb98c21020fee2261.tar.xz
Last krazy issues fixed
git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/network/rekonq@967142 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/history.cpp')
-rw-r--r--src/history.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/history.cpp b/src/history.cpp
index 2bab72d8..fac13b48 100644
--- a/src/history.cpp
+++ b/src/history.cpp
@@ -124,7 +124,7 @@ void HistoryManager::setHistory(const QList<HistoryItem> &history, bool loadedAn
}
else
{
- m_lastSavedUrl = QString();
+ m_lastSavedUrl.clear();
m_saveTimer->changeOccurred();
}
emit historyReset();
@@ -174,7 +174,7 @@ void HistoryManager::checkForExpired()
break;
HistoryItem item = m_history.takeLast();
// remove from saved file also
- m_lastSavedUrl = QString();
+ m_lastSavedUrl.clear();
emit entryRemoved(item);
}
@@ -254,7 +254,7 @@ void HistoryManager::setHistoryLimit(int limit)
void HistoryManager::clear()
{
m_history.clear();
- m_lastSavedUrl = QString();
+ m_lastSavedUrl.clear();
m_saveTimer->changeOccurred();
m_saveTimer->saveIfNeccessary();
historyReset();
@@ -341,7 +341,7 @@ void HistoryManager::load()
// If we had to sort re-write the whole history sorted
if (needToSort)
{
- m_lastSavedUrl = QString();
+ m_lastSavedUrl.clear();
m_saveTimer->changeOccurred();
}
}