diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
commit | 9d20e99fffeebe67fd8ff27cb4f9e353892f5190 (patch) | |
tree | 23462fac2e862a2f408a26f94ab024c4174c3458 /src/webinspectorpanel.cpp | |
parent | rekonq 0.6.82 (diff) | |
download | rekonq-9d20e99fffeebe67fd8ff27cb4f9e353892f5190.tar.xz |
Coding style
Diffstat (limited to 'src/webinspectorpanel.cpp')
-rw-r--r-- | src/webinspectorpanel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webinspectorpanel.cpp b/src/webinspectorpanel.cpp index 365bc6be..b42756fc 100644 --- a/src/webinspectorpanel.cpp +++ b/src/webinspectorpanel.cpp @@ -56,14 +56,14 @@ void WebInspectorPanel::closeEvent(QCloseEvent *event) void WebInspectorPanel::toggle(bool enable) { MainWindow *w = qobject_cast<MainWindow *>(parent()); - w->actionByName( QL1S("web_inspector") )->setChecked(enable); + w->actionByName(QL1S("web_inspector"))->setChecked(enable); if (enable) { w->currentTab()->page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true); - if(!_inspector) + if (!_inspector) { _inspector = new QWebInspector(this); - _inspector->setPage( w->currentTab()->page() ); + _inspector->setPage(w->currentTab()->page()); setWidget(_inspector); } show(); |