summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-05 00:29:13 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-05 00:29:13 +0100
commitc328e203e0d84177a0028d8ba5b0af4b82c16eeb (patch)
treee6b38cc023c1920a6b2bab87a36ac5932a534ad5 /src/history
parentMerge commit 'refs/merge-requests/85' of git://gitorious.org/rekonq/mainline (diff)
downloadrekonq-c328e203e0d84177a0028d8ba5b0af4b82c16eeb.tar.xz
QPointers --> QWeakPointers
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp
index 29bdb45b..db19a6b4 100644
--- a/src/history/historymanager.cpp
+++ b/src/history/historymanager.cpp
@@ -69,10 +69,9 @@ HistoryManager::HistoryManager(QObject *parent)
, m_historyModel(0)
, m_historyFilterModel(0)
, m_historyTreeModel(0)
- , m_completion(0)
+ , m_completion(new KCompletion)
{
// take care of the completion object
- m_completion = new KCompletion;
m_completion->setOrder( KCompletion::Weighted );
m_expiredTimer.setSingleShot(true);