diff --git a/apps/OpenSpace/ext/launcher/src/profile/horizonsdialog.cpp b/apps/OpenSpace/ext/launcher/src/profile/horizonsdialog.cpp index 0cb01a88d1..8a7cb7fbd2 100644 --- a/apps/OpenSpace/ext/launcher/src/profile/horizonsdialog.cpp +++ b/apps/OpenSpace/ext/launcher/src/profile/horizonsdialog.cpp @@ -40,9 +40,6 @@ #include "profile/horizonsdialog.h" -#include <../modules/space/spacemodule.h> -#include -#include #include "profile/line.h" #include #include @@ -266,15 +263,6 @@ std::filesystem::path HorizonsDialog::file() const { } void HorizonsDialog::createWidgets() { - openspace::SpaceModule* spacemodule = openspace::global::moduleEngine->module(); - if (!spacemodule) { - QBoxLayout* layout = new QVBoxLayout(this); - QLabel* lable = new QLabel("Cannot use Horizons Translation without the 'SpaceModule' loaded", this); - lable->setObjectName("error-message"); - layout->addWidget(lable); - return; - } - QBoxLayout* wholeLayout = new QHBoxLayout(this); QBoxLayout* layout = new QVBoxLayout(this); {