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