diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-08 10:27:30 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-08 16:33:03 +0300 |
commit | af1eff03c9e839914aab4109970c4a9f6fac8a99 (patch) | |
tree | ae11034560b0e1c270614077ffd8f0f7485c7381 /src/main.cpp | |
parent | Add RekonqWindow tests (diff) | |
download | rekonq-af1eff03c9e839914aab4109970c4a9f6fac8a99.tar.xz |
RekonqSettings: add resetValue and remove value's defaultValue parameter
- generate default rekonqrc and include it in libsettings
- Settings uses :/settings/rekonqrc to provide default values
- Add Settings::path() to get the default settings location
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 51e68716..a537be8b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,7 @@ int main(int argc, char **argv) #ifdef QT_DEBUG spdlog::set_level(spdlog::level::debug); #endif + Q_INIT_RESOURCE(settings); // When loading QtWebEngine from a plugin, set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true); |