diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
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 <stdlib.h> 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(); |
