Skip to content

Commit

Permalink
Added the Platform Name to About dialog
Browse files Browse the repository at this point in the history
I need information for support on which platform it runs.
On Linux, this function returns the information whether X11 or Wayland
is used
  • Loading branch information
foldynl committed Nov 24, 2023
1 parent 6d4cec5 commit 746c491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ void MainWindow::showAbout() {
QString(hamlib_version);
#endif

QString OSName = QString("%1 %2").arg(QSysInfo::prettyProductName()).arg(QSysInfo::currentCpuArchitecture());
QString OSName = QString("%1 %2 (%3)").arg(QSysInfo::prettyProductName(), QSysInfo::currentCpuArchitecture(), QGuiApplication::platformName() );
aboutText = aboutText.arg(version)
.arg(qVersion())
.arg(hamlibVersion)
Expand Down

0 comments on commit 746c491

Please sign in to comment.