[qrvthtool] qrvthtool.cpp: Remove ".desktop" from the desktop filename.

Qt6 complains:

QGuiApplication::setDesktopFileName: the specified desktop file name ends
with .desktop. For compatibility reasons, the .desktop suffix will be
removed. Please specify a desktop file name without .desktop suffix
This commit is contained in:
David Korth 2023-11-25 10:20:43 -05:00
parent 3dc3a473ed
commit 64e16c74bd

View File

@ -87,7 +87,7 @@ int main(int argc, char *argv[])
app->setApplicationDisplayName(QLatin1String("RVT-H Tool"));
#if QT_VERSION >= QT_VERSION_CHECK(5,7,0)
app->setDesktopFileName(QLatin1String("com.gerbilsoft.qrvthtool.desktop"));
app->setDesktopFileName(QLatin1String("com.gerbilsoft.qrvthtool"));
#endif /* QT_VERSION >= QT_VERSION_CHECK(5,7,0) */
// Initialize the TranslationManager.