aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/testbench
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/manual/testbench
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/manual/testbench')
-rw-r--r--tests/manual/testbench/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 469dac26..bb36be3f 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -62,7 +62,7 @@ ApplicationWindow {
ToolButton {
text: "Normal"
- onClicked: menu.visible ? menu.hide() : menu.show()
+ onClicked: menu.visible ? menu.close() : menu.open()
}
ToolButton {
text: "Pressed"