summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--options/bundle.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/options/bundle.cpp b/options/bundle.cpp
index 7347dc88..8db4f906 100644
--- a/options/bundle.cpp
+++ b/options/bundle.cpp
@@ -39,9 +39,6 @@ bundle::~bundle() = default;
void bundle::reload()
{
- if (!is_ini_modified())
- return;
-
if (!group_name.isEmpty())
{
QMutexLocker l(&mtx);
@@ -53,8 +50,6 @@ void bundle::reload()
saved = group(group_name);
transient = saved;
- mark_ini_modified(false);
-
connector::notify_all_values();
emit reloading();
emit changed();
@@ -185,7 +180,7 @@ namespace options {
std::shared_ptr<bundle_> make_bundle(const QString& name)
{
- if (name.size())
+ if (!name.isEmpty())
return detail::bundler::bundler_singleton().make_bundle_(name);
else
return std::make_shared<bundle_>(QString());