|
From: <cn...@us...> - 2022-10-20 00:34:55
|
Revision: 1280
http://sourceforge.net/p/seq/svn/1280
Author: cn187
Date: 2022-10-20 00:34:52 +0000 (Thu, 20 Oct 2022)
Log Message:
-----------
[Qt5] Allow program to be run setuid root (Newby)
Modified Paths:
--------------
showeq/branches/cn187_devel/src/main.cpp
Modified: showeq/branches/cn187_devel/src/main.cpp
===================================================================
--- showeq/branches/cn187_devel/src/main.cpp 2022-10-20 00:33:52 UTC (rev 1279)
+++ showeq/branches/cn187_devel/src/main.cpp 2022-10-20 00:34:52 UTC (rev 1280)
@@ -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.
|