mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Merge pull request #17037 from Ultimaker/CURA-11193_fix_SDK_break
Add deprecation warning for ColorDialog
This commit is contained in:
commit
2e76eebef8
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.Dialogs
|
||||
|
||||
// due for deprication, use Qt Color Dialog instead
|
||||
// due for deprecation, use Qt Color Dialog instead
|
||||
ColorDialog
|
||||
{
|
||||
id: root
|
||||
|
||||
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