mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:18:59 +08:00
Merge pull request #17037 from Ultimaker/CURA-11193_fix_SDK_break
Add deprecation warning for ColorDialog
This commit is contained in:
commit
2e76eebef8
@ -6,10 +6,12 @@ import QtQuick.Controls 2.15
|
|||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import QtQuick.Dialogs
|
import QtQuick.Dialogs
|
||||||
|
|
||||||
// due for deprication, use Qt Color Dialog instead
|
// due for deprecation, use Qt Color Dialog instead
|
||||||
ColorDialog
|
ColorDialog
|
||||||
{
|
{
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property alias color: root.selectedColor
|
property alias color: root.selectedColor
|
||||||
|
|
||||||
|
Component.onCompleted: { console.warn("Cura.ColorDialog is deprecated, use the QtQuick's ColorDialog instead"); }
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user