QOwnNotes/scripts/fix-settings-ui-file.sh
Patrizio Bekerle 410ce0b7a7 #3075 fix: settings dialog styling issue
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2024-08-06 19:32:01 +02:00

12 lines
337 B
Bash
Executable file

#!/usr/bin/env bash
#
# This script is a bash script that replaces the string "Qt::Orientation::Vertical"
# with "Qt::Vertical" in "src/dialogs/settingsdialog.ui" to fix the UI in Qt 5.15
#
set -e
# Perform the replacement
sed -i 's/Qt::Orientation::Vertical/Qt::Vertical/g' src/dialogs/settingsdialog.ui
echo "Replacement complete."