diff options
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-x | src/main.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5f58b69..c923f60 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,9 +19,7 @@ #include "MainWindow.h" -// -- #include "IndentHandler.h" #include "SettingsPaths.h" -// -- #include "UiGuiIniFileParser.h" #include "UiGuiVersion.h" #include <tqapplication.h> @@ -29,14 +27,12 @@ #include <tqstring.h> #include <tqtextcodec.h> -// -- #include <algorithm> #include <iostream> -// -- #include <string> #include <tclap/CmdLine.h> /*! - /brief Entry point to UniversalIndentGUI application. + /brief Entry point to UniversalIndentGUI-TQt application. */ int main(int argc, char *argv[]) { @@ -90,7 +86,6 @@ int main(int argc, char *argv[]) TQApplication app(argc, argv); MainWindow *mainWindow = NULL; -// -- IndentHandler *indentHandler = NULL; // Setting UTF-8 as default 8-Bit encoding TQTextCodec::setCodecForCStrings(TQTextCodec::codecForName("UTF-8")); @@ -101,7 +96,7 @@ int main(int argc, char *argv[]) try { - app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); // TODO: remove when no longer needed + app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); returnValue = app.exec(); } catch (std::exception &ex) @@ -109,8 +104,6 @@ int main(int argc, char *argv[]) tqDebug(TQString() + __LINE__ + " " + __FUNCTION__ + ": Something went terribly wrong: " + ex.what()); } -// -- delete indentHandler; delete mainWindow; - return returnValue; } |