mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 17:57:55 -06:00
Add deprecation warning for ColorDialog
CURA-11193
This commit is contained in:
parent
0ff069a8dd
commit
d11688cbea
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue