"QQuickAction::event: Ambiguous shortcut overload: +" when pressing "Ctrl++"
-
Hi,
I have the following code:
import QtQuick 2.4 import QtQuick.Controls 1.3 ApplicationWindow { width: 640; height: 480; visible: true Action{shortcut: "a"; onTriggered: console.log("a")} Action{shortcut: "Ctrl+a"; onTriggered: console.log("Ctrl+a")} Action{shortcut: "+"; onTriggered: console.log("+")} Action{shortcut: "Ctrl++"; onTriggered: console.log("Ctrl++")} }
When I press a, Ctrl+a, + and Ctrl++ I get the following output:
qml: a qml: Ctrl+a qml: + QQuickAction::event: Ambiguous shortcut overload: +
Why am I getting this error?
Thanks for any help.
Regards. -
@Korchkidu Works with Qt 5.4.1 on Ubuntu 14.04.
-
@Korchkidu For me it works with both.