# HG changeset patch # User Teemu Piippo # Date 1681045298 -10800 # Node ID 16f5dcfa7c9f3a6cb3f27ae63cea8aae5e2323ce # Parent e1d646a4cbd86b6379a99dc74e081483ad968af7 Removed unused code diff -r e1d646a4cbd8 -r 16f5dcfa7c9f CMakeLists.txt --- 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 diff -r e1d646a4cbd8 -r 16f5dcfa7c9f src/main.cpp --- 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 -#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 static void doQtRegistrations()