diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-24 14:23:43 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-25 11:57:52 +0000 |
commit | 1183e59dd90c3bbc6f807cf472727ae03a15bc70 (patch) | |
tree | dc343d4c6bc24bbed2c99b7d10b557a23c35a399 | |
parent | 1967fc7f63b7b3884667f96507d159be1b23a825 (diff) |
remove pointless conditional from reloadCmdLine()
the function is (nowadays) only called when the condition is true.
Change-Id: I014f736c28c37b066a3f62e22f9002c025734386
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r-- | tools/configure/configureapp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 467af0e021..890f06a9a7 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -1177,7 +1177,6 @@ void Configure::readLicense() void Configure::reloadCmdLine(int idx) { - if (dictionary[ "REDO" ] == "yes") { QFile inFile(buildPathMangled + "/config.opt"); if (!inFile.open(QFile::ReadOnly)) { inFile.setFileName(buildPath + "/config.opt"); @@ -1190,7 +1189,6 @@ void Configure::reloadCmdLine(int idx) QTextStream inStream(&inFile); while (!inStream.atEnd()) configCmdLine.insert(idx++, inStream.readLine().trimmed()); - } } void Configure::saveCmdLine() |