summaryrefslogtreecommitdiff
path: root/src/previewselectorbar.cpp
diff options
context:
space:
mode:
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)
{