From cf4ce05bc91971d208e04355ddbafa2789c1de2b Mon Sep 17 00:00:00 2001 From: Anselme Date: Fri, 21 Aug 2015 17:14:46 +0200 Subject: [PATCH] fixed file path --- app/fourasmodule.cpp | 2 +- app/regismodule.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fourasmodule.cpp b/app/fourasmodule.cpp index d7c0669..0c0fa8a 100644 --- a/app/fourasmodule.cpp +++ b/app/fourasmodule.cpp @@ -5,7 +5,7 @@ FourasModule::FourasModule() : current(-1) { - riddles = new Riddles("../res/fouras.txt", "../res/fourasAnswers.txt"); + riddles = new Riddles("../../res/fouras.txt", "../../res/fourasAnswers.txt"); std::srand(time(NULL)); } diff --git a/app/regismodule.cpp b/app/regismodule.cpp index 1b285a3..5a9b7fa 100644 --- a/app/regismodule.cpp +++ b/app/regismodule.cpp @@ -16,7 +16,7 @@ bool RegisModule::messageHandler(Message msg) else if(msg.args.compare("!initrégis") == 0) { regisEnable = true; - voc.load("../res/vocab.txt"); + voc.load("../../res/vocab.txt"); setNick("il_est_con_Regis"); answer = QString("NICK %1\r\n").arg(getNick()); return true;