--- a/kate/main.cpp +++ b/kate/main.cpp @@ -51,24 +51,9 @@ #include "qtsingleapplication/qtsingleapplication.h" #endif -#ifndef Q_OS_WIN -#include -#endif -#include - int main(int argc, char **argv) { -#ifndef Q_OS_WIN - /** - * Check whether we are running as root - **/ - if (getuid() == 0) { - std::cout << "Executing Kate as root is not possible. To edit files as root use:" << std::endl; - std::cout << "SUDO_EDITOR=kate sudoedit " << std::endl; - return 0; - } -#endif /** * init resources from our static lib */