diff --git a/shell/main.cpp b/shell/main.cpp index e5df1bfcd..35890ff5f 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -43,12 +43,6 @@ static void disableLogOutput() QLoggingCategory::setFilterRules("*.debug=false"); } -static void exitApp(int signal) -{ - Q_UNUSED(signal); - QCoreApplication::exit(); -} - class AppletManager { public: @@ -147,12 +141,6 @@ int main(int argc, char *argv[]) Dtk::Core::DLogManager::registerJournalAppender(); qCInfo(dsLog) << "Log path is:" << Dtk::Core::DLogManager::getlogFilePath(); - // add signal handler, and call QCoreApplication::exit. - std::signal(SIGINT, exitApp); - std::signal(SIGABRT, exitApp); - std::signal(SIGTERM, exitApp); - std::signal(SIGKILL, exitApp); - Shell shell; QString serviceName(parser.value(dbusServiceNameOption)); if (!parser.isSet(dbusServiceNameOption)) {