summaryrefslogtreecommitdiff
path: root/src/categories.cpp
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2016-06-23 21:38:54 +0200
committerTannin <sherb@gmx.net>2016-06-23 21:38:54 +0200
commit33b544112cb06a5cb7d25ee0e723e42ebb509df6 (patch)
tree4de36388dd123ce278196271ca339c61132803db /src/categories.cpp
parent8a3af93b39b05b95462869fc7df7169c5862c966 (diff)
fixed categories list didn't get updated on switching instance
Diffstat (limited to 'src/categories.cpp')
-rw-r--r--src/categories.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/categories.cpp b/src/categories.cpp
index 50ba5271..be6af9ae 100644
--- a/src/categories.cpp
+++ b/src/categories.cpp
@@ -44,6 +44,10 @@ QString CategoryFactory::categoriesFilePath()
CategoryFactory::CategoryFactory()
{
atexit(&cleanup);
+}
+
+void CategoryFactory::loadCategories()
+{
reset();
QFile categoryFile(categoriesFilePath());