From a7d0afc3a01114462488507812eb35d8d4ed0eb5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 18:25:59 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- kate/insertcommand/plugin_kateinsertcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kate/insertcommand/plugin_kateinsertcommand.cpp') diff --git a/kate/insertcommand/plugin_kateinsertcommand.cpp b/kate/insertcommand/plugin_kateinsertcommand.cpp index 5351795..f744b55 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.cpp +++ b/kate/insertcommand/plugin_kateinsertcommand.cpp @@ -109,7 +109,7 @@ void PluginKateInsertCommand::removeView(Kate::MainWindow *win) void PluginKateInsertCommand::slotInsertCommand() { - if (!kapp->authorize("shell_access")) { + if (!tdeApp->authorize("shell_access")) { KMessageBox::sorry(0,i18n("You are not allowed to execute arbitrary external applications. If you want to be able to do this, contact your system administrator."),i18n("Access Restrictions")); return; } -- cgit v1.2.3