mirror of https://notabug.org/acetone/ircabot.git
debug output deleted
parent
e92e337923
commit
caa8c5d68d
|
@ -24,9 +24,7 @@ QString getValue(const QString &string, const QString &key, Type type)
|
|||
}
|
||||
|
||||
QString result {string};
|
||||
qInfo() << "K0:" << key << "\n" << result;
|
||||
result.remove(QRegularExpression("^.*"+key+"\\s*=", QRegularExpression::DotMatchesEverythingOption));
|
||||
qInfo() << "K1:" << key << "\n" << result;
|
||||
|
||||
QString separator {"\n"};
|
||||
if (type == eForTriggers) {
|
||||
|
@ -39,7 +37,6 @@ QString getValue(const QString &string, const QString &key, Type type)
|
|||
if (valueEnd != -1) {
|
||||
result.remove(valueEnd, result.size()-valueEnd);
|
||||
}
|
||||
qInfo() << "K2:" << key << "\n" << result;
|
||||
if (type == eForWeb) {
|
||||
result = QByteArray::fromPercentEncoding(result.toUtf8());
|
||||
result.replace('+', ' ');
|
||||
|
|
Loading…
Reference in New Issue