mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Add deprecation warning for ColorDialog
CURA-11193
This commit is contained in:
parent
0ff069a8dd
commit
d11688cbea
@ -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