Skip to content

Commit 879a031

Browse files
committed
Remove some annoying debug messages
1 parent 16e2bc9 commit 879a031

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/environment.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ QString environment_get(QString key)
4646

4747
int environment_get_int(QString key)
4848
{
49-
qDebug() << "key=" << key;
5049
for (auto &line : lines) {
51-
qDebug() << "line->key=" << line->key << " key=" << key;
52-
if (!line->isKeyValuePair)
50+
if (!line->isKeyValuePair) {
5351
continue;
54-
if (line->key == key)
52+
}
53+
if (line->key == key) {
5554
return atoi(line->value.toStdString().c_str());
55+
}
5656
}
5757
return -1;
5858
}

0 commit comments

Comments
 (0)