diff options
Diffstat (limited to 'examples/effectsbench/qml')
-rw-r--r-- | examples/effectsbench/qml/FpsItem.qml | 2 | ||||
-rw-r--r-- | examples/effectsbench/qml/main.qml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/effectsbench/qml/FpsItem.qml b/examples/effectsbench/qml/FpsItem.qml index 054155f..77024c7 100644 --- a/examples/effectsbench/qml/FpsItem.qml +++ b/examples/effectsbench/qml/FpsItem.qml @@ -48,7 +48,7 @@ ** ****************************************************************************/ -import QtQuick 2.0 +import QtQuick Item { id: root diff --git a/examples/effectsbench/qml/main.qml b/examples/effectsbench/qml/main.qml index ac29aa1..ca62773 100644 --- a/examples/effectsbench/qml/main.qml +++ b/examples/effectsbench/qml/main.qml @@ -48,9 +48,9 @@ ** ****************************************************************************/ -import QtQuick 2.12 -import QtQuick.Window 2.12 -import QtGraphicalEffects 1.12 +import QtQuick +import QtQuick.Window +import Qt5Compat.GraphicalEffects import "qrc:/quickmultieffect" Window { @@ -214,7 +214,7 @@ Window { source: effectsAmount > 2 ? effect2 : null // DropShadow is applied for already blurred item so // blur amounts don't fully match with QuickMultiEffect. - samples: 8 + radius: 8 horizontalOffset: 10 - 20 * mainWindow.animation1 verticalOffset: 10 visible: effectsAmount == 3 |