summaryrefslogtreecommitdiff
path: root/bootstrap.cxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-06 09:12:41 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-06 09:12:41 +0800
commit820227a86c3b938792384279a487f1ab0dd070d6 (patch)
treeaec0075661df9d63a2d9d10bed7c88b034d94650 /bootstrap.cxx
parent76a00c3d08d582422b5b0b9b38880218054f6e93 (diff)
Initial settings will be read from qtquickcontrols2.conf
Diffstat (limited to 'bootstrap.cxx')
-rw-r--r--bootstrap.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap.cxx b/bootstrap.cxx
index 7a03b8f..6f01ab1 100644
--- a/bootstrap.cxx
+++ b/bootstrap.cxx
@@ -2,11 +2,14 @@
Bootstrap::Bootstrap(QObject *parent):
QObject(parent),
- bs_mode(LightMode),
bs_theme(None),
bs_lightBodyBg("#fff"),
bs_darkBodyBg("#212529")
{
+ QFile conf{QStringLiteral(":/qtquickcontrols2.conf")};
+ conf.open(QFile::ReadOnly | QFile::Text);
+ qDebug() << conf.readAll();
+ conf.close();
}
Bootstrap *Bootstrap::qmlAttachedProperties(QObject *object)