summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index fc840c2..676b4ab 100644
--- a/main.cpp
+++ b/main.cpp
@@ -187,6 +187,7 @@ static bool removeDefault()
fprintf(stderr, "Could not remove default application.\n");
return false;
}
+ sync();
}
return true;
}
@@ -207,6 +208,7 @@ static bool makeDefault(const QString &filepath)
fprintf(stderr, "Could not link default application.\n");
return false;
}
+ sync();
return true;
}