summaryrefslogtreecommitdiff
path: root/src/webinspectorpanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webinspectorpanel.cpp')
-rw-r--r--src/webinspectorpanel.cpp4
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());