From 2135ab8d13d221fb45d53419fcc9019ddaf4a070 Mon Sep 17 00:00:00 2001 From: nowrep Date: Wed, 23 Jan 2013 18:23:34 +0100 Subject: [PATCH] Final proper fix for showing popup windows with QtWebKit 2.3 Checking only size of popup window as 100x100 is the smallest possible size. --- src/lib/popupwindow/popupwebpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/popupwindow/popupwebpage.cpp b/src/lib/popupwindow/popupwebpage.cpp index df82b4b66..f2d67c93f 100644 --- a/src/lib/popupwindow/popupwebpage.cpp +++ b/src/lib/popupwindow/popupwebpage.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2012 David Rosca +* Copyright (C) 2010-2013 David Rosca * * 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;