aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2021-04-23 22:20:31 +0300
committerGitHub <noreply@github.com>2021-04-23 14:20:31 -0500
commit0a1a47c920a10fe5960f990c48102d8bde08a6fe (patch)
tree88bc0f7a59c3f13ddf993056f153751d319f4686 /src/text_file_functions.cpp
parent31abe0c84845556d038cdd4a67bd871448adffd1 (diff)
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>
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp4
1 files changed, 2 insertions, 2 deletions
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()) {