From 71d01139cf2ac4380c2ee13ecdcff77eb1d42897 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sun, 24 May 2026 10:52:15 -0400 Subject: fix startup error --- src/main.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 65b9bc7..d9231ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,25 +5,26 @@ #include "ui/tmixapp.h" #include "ui/backendcontroller.h" +#include static TDECmdLineOptions options[] = { TDECmdLineLastOption }; -int main( int argc, char **argv ) +int main( int argc, char *argv[] ) { TDEAboutData about( "tmix", I18N_NOOP("TMix"), - "0.1", - I18N_NOOP("Trinity audio mixer"), - TDEAboutData::License_GPL_V2, - "(C) 2024 Trinity Desktop Project" + "0.2", + "Trinity audio mixer", + TDEAboutData::License_GPL, + "(c) 2026 Trinity Desktop Project" ); TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::addCmdLineOptions( options ); TDEUniqueApplication::addCmdLineOptions(); - if ( TDEUniqueApplication::start() ) - return 0; + if (! TDEUniqueApplication::start() ) + exit(-1); TmixApp app; app.disableSessionManagement(); -- cgit v1.2.3