Merge pull request #17037 from Ultimaker/CURA-11193_fix_SDK_break

Add deprecation warning for ColorDialog
This commit is contained in:
Casper Lamboo 2023-10-20 11:48:45 +02:00 committed by GitHub
commit 2e76eebef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"); }
}