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:
parent
00268a294b
commit
2135ab8d13
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* 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
|
||||
* 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 QTWEBKIT_FROM_2_3
|
||||
&& rect.size() != QSize(100, 100) && rect.y() != 0
|
||||
&& rect.size() != QSize(100, 100)
|
||||
#endif
|
||||
) {
|
||||
m_geometry = rect;
|
||||
|
Loading…
Reference in New Issue
Block a user