Skip to content

Commit

Permalink
Fix build with Qt6 (needs Qt::endl namespace)
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Feb 7, 2024
1 parent 91a4e34 commit 14936b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avogadro/avogadro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext& context,
QFile outFile(writableDocs + "/avogadro2.log");
outFile.open(QIODevice::WriteOnly | QIODevice::Append);
QTextStream ts(&outFile);
ts << message << endl;
ts << message << Qt::endl;
}

int main(int argc, char* argv[])
Expand Down

0 comments on commit 14936b0

Please sign in to comment.