|
From: <cn...@us...> - 2022-10-20 00:33:54
|
Revision: 1279
http://sourceforge.net/p/seq/svn/1279
Author: cn187
Date: 2022-10-20 00:33:52 +0000 (Thu, 20 Oct 2022)
Log Message:
-----------
[Qt5] Allow program to be run setuid root (Newby)
Modified Paths:
--------------
showeq/trunk/src/main.cpp
Modified: showeq/trunk/src/main.cpp
===================================================================
--- showeq/trunk/src/main.cpp 2022-09-28 15:25:50 UTC (rev 1278)
+++ showeq/trunk/src/main.cpp 2022-10-20 00:33:52 UTC (rev 1279)
@@ -201,6 +201,9 @@
#endif
/* Create application instance */
+#if QT_VERSION >= 0x050000
+ QApplication::setSetuidAllowed(true);
+#endif
QApplication qapp (argc, argv);
/* Print the version number */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|