[education/rkward] rkward: Fix compilation
Thomas Friedrichsmeier
null at kde.org
Fri Jul 5 22:10:47 BST 2024
Git commit 7485e8dab38103e669d75b25bd1bfe13df4fbb77 by Thomas Friedrichsmeier.
Committed on 05/07/2024 at 21:10.
Pushed by tfry into branch 'master'.
Fix compilation
M +1 -1 rkward/main.cpp
https://invent.kde.org/education/rkward/-/commit/7485e8dab38103e669d75b25bd1bfe13df4fbb77
diff --git a/rkward/main.cpp b/rkward/main.cpp
index 5de62c43b..5021ac2c6 100644
--- a/rkward/main.cpp
+++ b/rkward/main.cpp
@@ -143,7 +143,7 @@ int main (int argc, char *argv[]) {
RK_Debug::RK_Debug_Level = DL_WARNING;
#if defined(Q_OS_MACOS)
// TODO: This is just a hackish workaround. See https://invent.kde.org/education/rkward/-/issues/28
- auto chromiumflags = QStringLiteral("QTWEBENGINE_CHROMIUM_FLAGS");
+ const char* chromiumflags = "QTWEBENGINE_CHROMIUM_FLAGS";
if (!qEnvironmentVariableIsSet(chromiumflags)) {)
qputenv(chromimumflags, "--no-sandbox --single-process --enable-features=NetworkServiceInProcess");
}
More information about the rkward-tracker
mailing list