From 0a1a47c920a10fe5960f990c48102d8bde08a6fe Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Fri, 23 Apr 2021 22:20:31 +0300 Subject: Expand .css power by giving object names to all AO UI elements (#534) * Fix ic chatlog placeholder text not being translated * Fix inconsistent/nonsensical path resolution for the backwards-compatibility misc/default/config.ini vs themes/current_theme/misc/default/config.ini Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com> --- src/text_file_functions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/text_file_functions.cpp') diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 1df1e41f..cd6802e3 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -442,8 +442,8 @@ QString AOApplication::get_chat_markup(QString p_identifier, QString p_chat) QStringList backwards_paths{get_theme_path("misc/" + p_chat + "/config.ini"), get_base_path() + "misc/" + p_chat + "/config.ini", - get_base_path() + "misc/default/config.ini", - get_theme_path("misc/default/config.ini")}; + get_theme_path("misc/default/config.ini"), + get_base_path() + "misc/default/config.ini"}; for (const QString &p : backwards_paths) { QString value = read_design_ini(p_identifier, p); if (!value.isEmpty()) { -- cgit