Use palette for qml code for theming

Can't do it for QtWidgets code. We need to fully transition, before we
can fully switch over probably.
This commit is contained in:
Nicolas Werner 2020-03-28 19:12:00 +01:00
parent 384ef13c76
commit d35cc3dda4
10 changed files with 43 additions and 39 deletions

View file

@ -29,7 +29,7 @@ qmlMessageHandler(QtMsgType type, const QMessageLogContext &context, const QStri
if (msg.endsWith(
"QML Binding: Not restoring previous value because restoreMode has not been set.This "
"behavior is deprecated.In Qt < 6.0 the default is Binding.RestoreBinding.In Qt >= "
"6.0 the default is Binding.RestoreBindingOrValue."))
"6.0 the default is Binding.RestoreBindingOrValue.") || msg.endsWith("Both point size and pixel size set. Using pixel size."))
return;
switch (type) {