aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-08 06:23:57 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-08 06:23:57 +0200
commitc4e247210b1acaefb9440fc50b0a6802f4b92fbd (patch)
treee03ab885508f06a220ec619ab8d536f2ee5e1409 /src/main.cpp
parent40b03ab0dca7d948051a40d68db7602a652b8351 (diff)
remove pkexec check
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d5b9313..f10d522 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2487,15 +2487,6 @@ static void activate(GtkApplication *app, gpointer userdata) {
g_application_quit(G_APPLICATION(app));
return;
}
- } else {
- if(!is_pkexec_installed()) {
- GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
- "pkexec needs to be installed to record a monitor on systems with AMD/Intel GPU. Please install polkit which provides pkexec.");
- gtk_dialog_run(GTK_DIALOG(dialog));
- gtk_widget_destroy(dialog);
- g_application_quit(G_APPLICATION(app));
- return;
- }
}
std::string window_title = "GPU Screen Recorder | Running on ";