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:
parent
2ea51405fd
commit
2d5266333e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user