summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2026-05-24 10:52:15 -0400
committerCalvin Morrison <calvin@pobox.com>2026-05-24 10:52:15 -0400
commit71d01139cf2ac4380c2ee13ecdcff77eb1d42897 (patch)
treea8d5be77b1c0fd10529ca7d26bc5ed749e657be3 /src
parent5b14f0430c65d40846d3ed5edc099f43f048a5bf (diff)
fix startup error
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp15
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();