diff options
Diffstat (limited to 'tests/quicktestbrowser/ButtonWithMenu.qml')
-rw-r--r-- | tests/quicktestbrowser/ButtonWithMenu.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/quicktestbrowser/ButtonWithMenu.qml b/tests/quicktestbrowser/ButtonWithMenu.qml index 8058b958a..90944eeec 100644 --- a/tests/quicktestbrowser/ButtonWithMenu.qml +++ b/tests/quicktestbrowser/ButtonWithMenu.qml @@ -1,7 +1,7 @@ /**************************************************************************** ** -** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtWebEngine module of the Qt Toolkit. ** @@ -17,8 +17,8 @@ ** notice, this list of conditions and the following disclaimer in ** the documentation and/or other materials provided with the ** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived ** from this software without specific prior written permission. ** ** @@ -47,7 +47,7 @@ ToolButton { id: root property Menu longPressMenu function showMenu() { - longPressMenu.__popup(0, root.height, 0) + longPressMenu.__popup(Qt.rect(0, root.height, 0, 0), 0) } Binding { |