1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Don't trigger QWebPage::InspectElement twice on Windows.

This commit is contained in:
nowrep 2012-01-22 16:41:57 +01:00
parent 2ea51405fd
commit 2d5266333e

View File

@ -1245,9 +1245,7 @@ void QupZilla::showStatusbar()
void QupZilla::showWebInspector()
{
#ifdef Q_WS_WIN
weView()->triggerPageAction(QWebPage::InspectElement);
#else
#ifndef Q_WS_WIN
if (m_webInspectorDock) {
m_webInspectorDock.data()->setPage(weView()->webPage());
m_webInspectorDock.data()->show();