History

Replace uses of endl on Qt classes with Qt::endl

This fixes a whole bunch of warnings

Dale Glass committed 5 years ago

Commit be6a67b1 parent 88cd4a78 files · +34 −34Browse files

Showing the changes to android/apps/interface/src/main/cpp/native.cpp (1 of 8 files). Show all

Unified · Split

android/apps/interface/src/main/cpp/native.cpp+1−1
@@ -142,7 +142,7 @@ void unpackAndroidAssets() { · 141 unmodified lines
142 if (!file.open(QIODevice::ReadWrite | QIODevice::Truncate)) {142 if (!file.open(QIODevice::ReadWrite | QIODevice::Truncate)) {
143 throw std::runtime_error("Can't write date stamp");143 throw std::runtime_error("Can't write date stamp");
144 }144 }
145 QTextStream(&file) << "touch" << endl;145 QTextStream(&file) << "touch" << Qt::endl;
146 file.close();146 file.close();
147 }147 }
148}148}