Removed unused code

Sun, 09 Apr 2023 16:01:38 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 09 Apr 2023 16:01:38 +0300
changeset 363
16f5dcfa7c9f
parent 362
e1d646a4cbd8
child 364
39fbdee0c0c8

Removed unused code

CMakeLists.txt file | annotate | diff | comparison | revisions
src/main.cpp file | annotate | diff | comparison | revisions
--- a/CMakeLists.txt	Sun Apr 09 15:59:08 2023 +0300
+++ b/CMakeLists.txt	Sun Apr 09 16:01:38 2023 +0300
@@ -106,7 +106,6 @@
 	src/ldrawalgorithm.h
 	src/ldrawsyntaxhighlighter.h
 	src/libraries.h
-	src/main.h
 	src/mainwindow.h
 	src/messagelog.h
 	src/model.h
--- a/src/main.cpp	Sun Apr 09 15:59:08 2023 +0300
+++ b/src/main.cpp	Sun Apr 09 16:01:38 2023 +0300
@@ -23,7 +23,6 @@
 #include "src/parser.h"
 #include "src/ldrawsyntaxhighlighter.h"
 #include <GL/glew.h>
-#include "src/main.h"
 
 static const QDir LOCALE_DIR {":/locale"};
 
@@ -40,19 +39,6 @@
 	QTextDocument* model;
 };
 
-class Signal final : public QObject
-{
-	Q_OBJECT
-public:
-	Signal() : QObject{}{}
-	virtual ~Signal(){}
-	void emit()
-	{
-		Q_EMIT this->triggered();
-	}
-Q_SIGNALS:
-	void triggered();
-};
 #include <main.moc>
 
 static void doQtRegistrations()

mercurial