changes for portability with Qt 5.12 on Ubuntu 20.04LTS

This commit is contained in:
Axel Kohlmeyer
2023-07-31 07:04:25 -04:00
parent 0a0184221c
commit 2f159df3b7
3 changed files with 7 additions and 3 deletions

View File

@ -611,7 +611,7 @@ void LammpsGui::about()
QFont font;
font.setFixedPitch(true);
font.setStyleHint(QFont::TypeWriter);
font.setFamilies(QStringList({"Arial", "Helvetica"}));
font.setFamily("Arial");
font.setPointSize(8);
msg.setFont(font);
msg.exec();