summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-20 19:34:09 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-20 19:34:09 +0000
commitf339cc8431c0a7b6a4d514599e6fa57a75eb6495 (patch)
tree0d7ac1ea36b3819a6c4f0d0538dbf3c4d7d76245 /src/main.cpp
parent49de6e8d2555234c5da132c5fc35287083fe7ef7 (diff)
Member variable unused so removed it.
Leaves one asking *why* the datapath can be inside the game directory.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ff34145d..4f79b0b2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -446,7 +446,7 @@ int main(int argc, char *argv[])
QString gamePath = QString::fromUtf8(settings.value("gamePath", "").toByteArray());
bool done = false;
while (!done) {
- if (!GameInfo::init(ToWString(application.applicationDirPath()), ToWString(dataPath), ToWString(QDir::toNativeSeparators(gamePath)))) {
+ if (!GameInfo::init(ToWString(application.applicationDirPath()), ToWString(QDir::toNativeSeparators(gamePath)))) {
if (!gamePath.isEmpty()) {
reportError(QObject::tr("No game identified in \"%1\". The directory is required to contain "
"the game binary and its launcher.").arg(gamePath));