From b0deb87188347ee7cb96d2f7cab4d30cc06eb145 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 4 Oct 2023 15:13:22 -0400 Subject: [PATCH] include Qt version in About dialog --- tools/lammps-gui/lammpsgui.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/lammps-gui/lammpsgui.cpp b/tools/lammps-gui/lammpsgui.cpp index b6b590e855..422122775c 100644 --- a/tools/lammps-gui/lammpsgui.cpp +++ b/tools/lammps-gui/lammpsgui.cpp @@ -1185,14 +1185,15 @@ void LammpsGui::view_variables() void LammpsGui::about() { std::string version = "This is LAMMPS-GUI version " LAMMPS_GUI_VERSION; + version += " using Qt version " QT_VERSION_STR "\n"; if (lammps.has_plugin()) { - version += " - LAMMPS library loaded as plugin"; + version += "LAMMPS library loaded as plugin"; if (!plugin_path.empty()) { version += " from file "; version += plugin_path; } } else { - version += " - LAMMPS library linked to executable"; + version += "LAMMPS library linked to executable"; } QString to_clipboard(version.c_str());