[nostalgia] Address CLion warnings
This commit is contained in:
@@ -39,12 +39,4 @@ QVector<WizardMaker> WorldEditorPlugin::newWizards(const Context *ctx) {
|
||||
};
|
||||
}
|
||||
|
||||
QWidget *WorldEditorPlugin::makeEditor(QString path, const Context *ctx) {
|
||||
if (path.startsWith(PATH_ZONES)) {
|
||||
return new WorldEditor(path, ctx);
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -22,8 +22,6 @@ class WorldEditorPlugin: public QObject, public studio::Module {
|
||||
public:
|
||||
QVector<studio::WizardMaker> newWizards(const studio::Context *ctx) override;
|
||||
|
||||
QWidget *makeEditor(QString path, const studio::Context *ctx) override;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user