diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-07-25 19:48:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-25 19:48:41 +0200 |
commit | 14664e54b1a2dbe9c06f474a0918a262dba04e20 (patch) | |
tree | 2f48b455d90b5a966045f8ba6388ac8c0620259f /src/webinspectorpanel.cpp | |
parent | Last SSL fixes (diff) | |
download | rekonq-14664e54b1a2dbe9c06f474a0918a262dba04e20.tar.xz |
clean up
- QL1S
- one stupid kDebug less
- codingstyle
Diffstat (limited to 'src/webinspectorpanel.cpp')
-rw-r--r-- | src/webinspectorpanel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webinspectorpanel.cpp b/src/webinspectorpanel.cpp index 20c9d8f1..b3454ccb 100644 --- a/src/webinspectorpanel.cpp +++ b/src/webinspectorpanel.cpp @@ -57,10 +57,10 @@ void WebInspectorPanel::toggle(bool enable) { MainWindow *w = qobject_cast<MainWindow *>(parent()); w->actionByName(QL1S("web_inspector"))->setChecked(enable); - if(enable) + if (enable) { w->currentTab()->page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true); - if(!_inspector) + if (!_inspector) { _inspector = new QWebInspector(this); _inspector->setPage(w->currentTab()->page()); |