diff options
author | Pierre Rossi <pierre.rossi@gmail.com> | 2011-02-24 18:35:20 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-24 18:38:45 +0100 |
commit | 23b44d0344304499ba8e1f199720202381920827 (patch) | |
tree | edd144e38d6dc3619b8b889f3a80a69a8dc52180 /src/urlbar/completionwidget.cpp | |
parent | Save one updateRightIcons call from the bookmark icon. (diff) | |
download | rekonq-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/urlbar/completionwidget.cpp')
-rw-r--r-- | src/urlbar/completionwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp index 0d2026af..8064c5bb 100644 --- a/src/urlbar/completionwidget.cpp +++ b/src/urlbar/completionwidget.cpp @@ -329,11 +329,11 @@ void CompletionWidget::setVisible(bool visible) { if (visible) { - Application::instance()->installEventFilter(this); + rApp->installEventFilter(this); } else { - Application::instance()->removeEventFilter(this); + rApp->removeEventFilter(this); } |