diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-09 08:51:25 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-09 15:00:58 +0200 |
commit | 6bc3fe31a3f354afc7be870a4a2d375ab6c746b6 (patch) | |
tree | 39b439b16cb872b3d982a6083a546456001d0f8e /options/group.cpp | |
parent | cc6fc6577940df89c57db08743b181291c2a4b43 (diff) |
add support for migrations
They're run from the UI thread so can even be interactive.
Diffstat (limited to 'options/group.cpp')
-rw-r--r-- | options/group.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options/group.cpp b/options/group.cpp index a2169ae5..69b79cef 100644 --- a/options/group.cpp +++ b/options/group.cpp @@ -72,7 +72,7 @@ QString group::ini_pathname() return dir + "/" + ini_filename(); } -const QStringList group::ini_list() +QStringList group::ini_list() { const auto dirname = ini_directory(); if (dirname == "") @@ -83,7 +83,7 @@ const QStringList group::ini_list() return list; } -const std::shared_ptr<QSettings> group::ini_file() +std::shared_ptr<QSettings> group::ini_file() { const auto pathname = ini_pathname(); if (pathname != "") |