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

Final proper fix for showing popup windows with QtWebKit 2.3

Checking only size of popup window as 100x100 is the smallest
possible size.
This commit is contained in:
nowrep 2013-01-23 18:23:34 +01:00
parent 00268a294b
commit 2135ab8d13

View File

@ -1,6 +1,6 @@
/* ============================================================ /* ============================================================
* QupZilla - WebKit based browser * QupZilla - WebKit based browser
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com> * Copyright (C) 2010-2013 David Rosca <nowrep@gmail.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -63,7 +63,7 @@ void PopupWebPage::slotGeometryChangeRequested(const QRect &rect)
if (rect.isValid() if (rect.isValid()
#if QTWEBKIT_FROM_2_3 #if QTWEBKIT_FROM_2_3
&& rect.size() != QSize(100, 100) && rect.y() != 0 && rect.size() != QSize(100, 100)
#endif #endif
) { ) {
m_geometry = rect; m_geometry = rect;