Commit 87c7962f authored by Volker Krause's avatar Volker Krause
Browse files

Cover more QtQuick.Dialogs changes

parent be54f724
Pipeline #203321 passed with stage
in 49 seconds
......@@ -13,7 +13,10 @@ QQC2_NS=`cat $1 | grep '^import QtQuick.Controls 2' | grep ' as ' | perl -p -e '
#
# platform dialogs
perl -p -i -e 's/^import QtQuick.Dialogs 1.0/import Qt.labs.platform 1.1/' $1
perl -p -i -e 's/^import QtQuick.Dialogs 1.\d/import Qt.labs.platform 1.1/' $1
perl -0777 -p -i -e 's/(MessageDialog \{[^\}]*?on(:?Apply|Discard)): /\1Clicked: /sg' $1
perl -0777 -p -i -e 's/(MessageDialog \{[^\}]*?)(standardButtons): /\1buttons: /sg' $1
perl -p -i -e 's/StandardButton\./MessageDialog./g' $1
# migrate from ApplicationWindow.overlay to Overlay.overlay
# (needs current QQC2 import version!)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment