mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04: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()
|
void QupZilla::showWebInspector()
|
||||||
{
|
{
|
||||||
#ifdef Q_WS_WIN
|
#ifndef Q_WS_WIN
|
||||||
weView()->triggerPageAction(QWebPage::InspectElement);
|
|
||||||
#else
|
|
||||||
if (m_webInspectorDock) {
|
if (m_webInspectorDock) {
|
||||||
m_webInspectorDock.data()->setPage(weView()->webPage());
|
m_webInspectorDock.data()->setPage(weView()->webPage());
|
||||||
m_webInspectorDock.data()->show();
|
m_webInspectorDock.data()->show();
|
||||||
|
Loading…
Reference in New Issue
Block a user