summaryrefslogtreecommitdiffstats
path: root/src/preferences.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-09 16:23:37 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 16:39:14 +0200
commit65e4a2c516bec4af7b7e5c4980c1c2a3666c08a8 (patch)
treec8a0d84af4fae42741e09b91a2dbf542a931c19a /src/preferences.cpp
parentd1f45355013d5347e6dc72289cebc8dc197f6e8f (diff)
downloadqalculate-tde-65e4a2c516bec4af7b7e5c4980c1c2a3666c08a8.tar.gz
qalculate-tde-65e4a2c516bec4af7b7e5c4980c1c2a3666c08a8.zip
Rename qalculate-kde to qalculate-tde
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/preferences.cpp')
-rw-r--r--src/preferences.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 658e5ec..0803552 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -24,7 +24,7 @@
#include "preferences.h"
#include "kqalculate.h"
-#include "qalculate_kde_utils.h"
+#include "qalculate_tde_utils.h"
#include "qalculateexpressionedit.h"
#include <sys/stat.h>
#include <unistd.h>
@@ -246,7 +246,7 @@ void load_preferences() {
int version_numbers[] = {0, 9, 6};
FILE *file = NULL;
- filename += "qalculate-kde.cfg";
+ filename += "qalculate-tde.cfg";
file = fopen(filename.c_str(), "r");
if(file) {
char line[10000];
@@ -663,7 +663,7 @@ void save_preferences(bool mode) {
FILE *file = NULL;
string filename = getLocalDir();
mkdir(filename.c_str(), S_IRWXU);
- filename += "qalculate-kde.cfg";
+ filename += "qalculate-tde.cfg";
file = fopen(filename.c_str(), "w+");
if(file == NULL) {
fprintf(stderr, i18n("Couldn't write preferences to\n%s"), filename.c_str());