aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/menu/data
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-11 15:34:55 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-14 14:40:04 +0000
commitcd0c04c630b6924d444f0e84e1b63477e4346aeb (patch)
tree2196a818bf085be65630ce2034b12d46da29f03b /tests/auto/menu/data
parent96da2a94e1b2d25fa39417d9088c9889f504e934 (diff)
Popup: rename show()/hide() to open()/close()
QML popups have traditionally used more explicit open() and close(). Renaming them to show() and hide() at this stage doesn't seem to have any real advantages. Change-Id: I1e7c8c4817c67e62cef965525e00f5bf125a7d76 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/menu/data')
-rw-r--r--tests/auto/menu/data/applicationwindow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/menu/data/applicationwindow.qml b/tests/auto/menu/data/applicationwindow.qml
index 6855d66e..cb55e3f6 100644
--- a/tests/auto/menu/data/applicationwindow.qml
+++ b/tests/auto/menu/data/applicationwindow.qml
@@ -76,6 +76,6 @@ ApplicationWindow {
x: 250
visible: false
text: "Open Menu"
- onClicked: menu.show()
+ onClicked: menu.open()
}
}