aboutsummaryrefslogtreecommitdiff
path: root/src/path_functions.cpp
diff options
context:
space:
mode:
authorTrickyLeifa <date.epoch@gmail.com>2024-05-23 16:10:45 +0200
committerTrickyLeifa <date.epoch@gmail.com>2024-05-23 16:10:45 +0200
commiteb024cb93131cddba8ec1a6094abde8bf1f4eaf3 (patch)
treeb0478364cd4d267c97334164aa876b41c1a841f9 /src/path_functions.cpp
parent29284c0b21408131b280744f58b78b2792d6a826 (diff)
Renamed pos_center to rect from Background/design.ini
Diffstat (limited to 'src/path_functions.cpp')
-rw-r--r--src/path_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp
index 4d22e9b9..4a23ac72 100644
--- a/src/path_functions.cpp
+++ b/src/path_functions.cpp
@@ -100,7 +100,7 @@ QPair<QString, QRect> AOApplication::get_pos_path(const QString &pos, const bool
QRect f_rect;
if (f_pos_split.size() > 1)
{ // Subposition, get center info
- QStringList arglist = read_design_ini(f_pos + "/pos_center", get_background_path("design.ini")).split(",");
+ QStringList arglist = read_design_ini(f_pos + "/rect", get_background_path("design.ini")).split(",");
if (arglist.size() == 4)
{
f_rect = QRect(arglist[0].toInt(), arglist[1].toInt(), arglist[2].toInt(), arglist[3].toInt());