summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@gmail.com>2011-02-24 18:35:20 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-24 18:38:45 +0100
commit23b44d0344304499ba8e1f199720202381920827 (patch)
treeedd144e38d6dc3619b8b889f3a80a69a8dc52180 /src/history
parentSave one updateRightIcons call from the bookmark icon. (diff)
downloadrekonq-23b44d0344304499ba8e1f199720202381920827.tar.xz
No more static members in the Application class,
an rApp shortcut for Application::instance, clean up code switching to use the new shortcut Reviewed by: adjam
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymodels.cpp2
-rw-r--r--src/history/historypanel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp
index d9d3efef..4ae58203 100644
--- a/src/history/historymodels.cpp
+++ b/src/history/historymodels.cpp
@@ -146,7 +146,7 @@ QVariant HistoryModel::data(const QModelIndex &index, int role) const
case Qt::DecorationRole:
if (index.column() == 0)
{
- return Application::iconManager()->iconForUrl(item.url);
+ return rApp->iconManager()->iconForUrl(item.url);
}
case Qt::ToolTipRole:
QString tooltip = "";
diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp
index d1b02c42..54146520 100644
--- a/src/history/historypanel.cpp
+++ b/src/history/historypanel.cpp
@@ -146,5 +146,5 @@ void HistoryPanel::setup()
QAbstractItemModel* HistoryPanel::model()
{
- return Application::historyManager()->historyTreeModel();
+ return rApp->historyManager()->historyTreeModel();
}