mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Don't use features of Qt 5.6 in the integration test yet
This commit is contained in:
@@ -382,7 +382,10 @@ class ZNCTest : public testing::Test {
|
||||
ASSERT_TRUE(file.open(QIODevice::WriteOnly | QIODevice::Text));
|
||||
QTextStream out(&file);
|
||||
for (const QString& line : lines) {
|
||||
out << line.midRef(maxoffset) << "\n";
|
||||
// QTextStream::operator<<(const QStringRef &string) was
|
||||
// introduced in Qt 5.6; let's keep minimum required version
|
||||
// less than that for now.
|
||||
out << line.mid(maxoffset) << "\n";
|
||||
}
|
||||
} else {
|
||||
// Write as is
|
||||
|
||||
Reference in New Issue
Block a user