Fix startup on Zorin OS

First unset QT_STYLE_OVERRIDE then start Cura

(cherry picked from commit 6989aabff5)
This commit is contained in:
Tim 2022-10-11 14:43:34 +02:00 committed by Jelle Spijker
parent 7faf2f63da
commit a51b03b9f4

View file

@ -13,8 +13,8 @@ export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
# Use the openssl.cnf packaged in the AppImage
export OPENSSL_CONF="$scriptdir/openssl.cnf"
$scriptdir/Ultimaker-Cura "$@"
# If this variable is set on Zorin OS 16 Cura would crash
# unset `QT_STYLE_OVERRIDE` as a precaution
unset QT_STYLE_OVERRIDE
unset QT_STYLE_OVERRIDE
$scriptdir/Ultimaker-Cura "$@"