[PATCH] kernelshark: Set QApplication::desktopFileName

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is needed for properly associating the window with the desktop file.

This is needed for e.g. showing the correct icon in desktop environments.

Signed-off-by: Nicolas Fella <nicolas.fella@xxxxxx>
---
 src/kernelshark.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/kernelshark.cpp b/src/kernelshark.cpp
index 92bc1f1..c373f54 100644
--- a/src/kernelshark.cpp
+++ b/src/kernelshark.cpp
@@ -56,6 +56,7 @@ int main(int argc, char **argv)
 	int c;

 	QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+	QApplication::setDesktopFileName("kernelshark");
 	QApplication a(argc, argv);

 	KsMainWindow ks;
--
2.35.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux