diff options
| author | Tannin <sherb@gmx.net> | 2016-06-23 21:38:54 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-06-23 21:38:54 +0200 |
| commit | 33b544112cb06a5cb7d25ee0e723e42ebb509df6 (patch) | |
| tree | 4de36388dd123ce278196271ca339c61132803db /src/categories.cpp | |
| parent | 8a3af93b39b05b95462869fc7df7169c5862c966 (diff) | |
fixed categories list didn't get updated on switching instance
Diffstat (limited to 'src/categories.cpp')
| -rw-r--r-- | src/categories.cpp | 4 |
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());
|
