Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Wayland window associations #2621

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmake/kvi_sysconfig.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#define KVIRC_VERSION_RELEASE "${CMAKE_KVIRC_VERSION_RELEASE}"
#define KVIRC_VERSION_BRANCH "${CMAKE_KVIRC_VERSION_BRANCH}"
#define KVIRC_VERSION_CODENAME "${CMAKE_KVIRC_VERSION_CODENAME}"
#define KVIRC_VERSION_MAJOR "${CMAKE_KVIRC_VERSION_MAJOR}"

// KVIrc detects the modules directory on macs/win32 by itself
// this seems to be used on linux only
Expand Down
2 changes: 1 addition & 1 deletion src/kvirc/ui/KviMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ KviMainWindow::KviMainWindow(QWidget * pParent)
setWindowIcon(*(g_pIconManager->getSmallIcon(KviIconManager::KVIrc)));
#endif
// set name of the app desktop file; used by wayland to load the window icon
QGuiApplication::setDesktopFileName("kvirc");
QGuiApplication::setDesktopFileName("net.kvirc.KVIrc" KVIRC_VERSION_MAJOR);
setWindowTitle(KVI_DEFAULT_FRAME_CAPTION);

m_pSplitter = new QSplitter(Qt::Horizontal, this);
Expand Down
Loading