File delete-run-as-root-message.patch of Package dolphin5
diff -Pdpru dolphin-23.08.5.orig/src/dolphinviewcontainer.cpp dolphin-23.08.5/src/dolphinviewcontainer.cpp
--- dolphin-23.08.5.orig/src/dolphinviewcontainer.cpp 2024-02-10 07:24:07.000000000 +0300
+++ dolphin-23.08.5/src/dolphinviewcontainer.cpp 2025-03-09 09:43:37.455615892 +0300
@@ -107,13 +107,6 @@ DolphinViewContainer::DolphinViewContain
m_messageWidget->setCloseButtonVisible(true);
m_messageWidget->hide();
-#ifndef Q_OS_WIN
- if (getuid() == 0) {
- // We must be logged in as the root user; show a big scary warning
- showMessage(i18n("Running Dolphin as root can be dangerous. Please be careful."), Warning);
- }
-#endif
-
// Initialize filter bar
m_filterBar = new FilterBar(this);
m_filterBar->setVisible(GeneralSettings::filterBar());