Fix all QML headers and change the deprecated QML components

* QZXing : Error while integrating it
This commit is contained in:
Hamza ARBI 2022-10-20 20:09:17 +01:00
parent 442e7eb015
commit cc3d9e0d2d
65 changed files with 208 additions and 208 deletions

View file

@ -1,5 +1,5 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick
import QtQuick.Controls
import PageEnum 1.0
import "./"
import "../Controls"
@ -62,8 +62,8 @@ If AmneziaDNS service is not installed on the same server, or this option is unc
NetworkSettingsLogic.onLineEditDns1EditFinished(text)
UiLogic.onUpdateAllPages()
}
validator: RegExpValidator {
regExp: NetworkSettingsLogic.ipAddressRegex
validator: RegularExpressionValidator {
regularExpression: NetworkSettingsLogic.ipAddressRegex
}
}
SvgButtonType {
@ -101,8 +101,8 @@ If AmneziaDNS service is not installed on the same server, or this option is unc
NetworkSettingsLogic.onLineEditDns2EditFinished(text)
UiLogic.onUpdateAllPages()
}
validator: RegExpValidator {
regExp: NetworkSettingsLogic.ipAddressRegex
validator: RegularExpressionValidator {
regularExpression: NetworkSettingsLogic.ipAddressRegex
}
}
SvgButtonType {