Skip to content

Commit

Permalink
Merge pull request #467 from ghutchis/fix-qt6-build
Browse files Browse the repository at this point in the history
Fix build with Qt6 (needs Qt::endl namespace)
  • Loading branch information
ghutchis committed Feb 7, 2024
2 parents 91a4e34 + 14936b0 commit 77a276f
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 77a276f

Please sign in to comment.