summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-24 14:23:43 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-25 11:57:52 +0000
commit1183e59dd90c3bbc6f807cf472727ae03a15bc70 (patch)
treedc343d4c6bc24bbed2c99b7d10b557a23c35a399 /tools/configure
parent1967fc7f63b7b3884667f96507d159be1b23a825 (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>
Diffstat (limited to 'tools/configure')
-rw-r--r--tools/configure/configureapp.cpp2
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()