summaryrefslogtreecommitdiff
path: root/src/previewselectorbar.cpp
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/previewselectorbar.cpp
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/previewselectorbar.cpp')
-rw-r--r--src/previewselectorbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/previewselectorbar.cpp b/src/previewselectorbar.cpp
index c8ab5b0a..8ca96360 100644
--- a/src/previewselectorbar.cpp
+++ b/src/previewselectorbar.cpp
@@ -89,7 +89,7 @@ PreviewSelectorBar::~PreviewSelectorBar()
void PreviewSelectorBar::verifyUrl()
{
- if (Application::instance()->mainWindow()->currentTab()->page()->mainFrame()->url().scheme() != "about")
+ if (rApp->mainWindow()->currentTab()->page()->mainFrame()->url().scheme() != "about")
{
m_button->setEnabled(true);
m_button->setToolTip("");
@@ -120,7 +120,7 @@ void PreviewSelectorBar::loadFinished()
void PreviewSelectorBar::clicked()
{
- WebPage *page = Application::instance()->mainWindow()->currentTab()->page();
+ WebPage *page = rApp->mainWindow()->currentTab()->page();
if (page)
{