aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickpopup.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-01-23 14:28:14 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-01-23 13:37:40 +0000
commit98e30d25dbdfbfb11f5cce1d74ef009ebecdfaf8 (patch)
tree2f5dd3adb085e8d185f5bfc6453d5190af098692 /src/templates/qquickpopup.cpp
parent63a858dfdea91d51cdba974766ccc2e4264a8280 (diff)
Popup: remove the warning about not being visible
Same as 89e058, but for close(). If the popup is already closed, then close() should be just a no-op. Change-Id: Icf1a3c5f67aad9b76432608802aa345881f5b960 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickpopup.cpp')
-rw-r--r--src/templates/qquickpopup.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/templates/qquickpopup.cpp b/src/templates/qquickpopup.cpp
index f3be6189..7df828ae 100644
--- a/src/templates/qquickpopup.cpp
+++ b/src/templates/qquickpopup.cpp
@@ -562,8 +562,7 @@ void QQuickPopup::close()
{
Q_D(QQuickPopup);
if (!d->overlay) {
- // TODO This could mean we opened the popup item in a plain QQuickWindow
- qmlInfo(this) << "trying to close non-visible Popup.";
+ // popup already closed
return;
}