diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-18 14:11:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-18 14:11:00 +0900 |
commit | 3db895919a4cd36972dd5241f480a68fe0f4eb4d (patch) | |
tree | ecf77c90fad566fa883f02277492e9b29602e563 /src/main.cpp | |
parent | 7e8aa1a5c0d085467ef82942f2eca78fbbf19386 (diff) | |
download | universal-indent-gui-tqt-3db895919a4cd36972dd5241f480a68fe0f4eb4d.tar.gz universal-indent-gui-tqt-3db895919a4cd36972dd5241f480a68fe0f4eb4d.zip |
Clean up some unused stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; } |