From 6bc3fe31a3f354afc7be870a4a2d375ab6c746b6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 9 Sep 2016 08:51:25 +0200 Subject: add support for migrations They're run from the UI thread so can even be interactive. --- options/group.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options/group.cpp') 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 group::ini_file() +std::shared_ptr group::ini_file() { const auto pathname = ini_pathname(); if (pathname != "") -- cgit v1.2.3