diff --git a/src/inspector/CMakeLists.txt b/src/inspector/CMakeLists.txt index b248c96d16..5f8385a2ef 100644 --- a/src/inspector/CMakeLists.txt +++ b/src/inspector/CMakeLists.txt @@ -42,7 +42,6 @@ set(MODULE_SRC ${CMAKE_CURRENT_LIST_DIR}/types/noteheadtypes.h ${CMAKE_CURRENT_LIST_DIR}/types/ornamenttypes.h ${CMAKE_CURRENT_LIST_DIR}/types/linetypes.h - ${CMAKE_CURRENT_LIST_DIR}/types/scoreappearancetypes.h ${CMAKE_CURRENT_LIST_DIR}/types/stemtypes.h ${CMAKE_CURRENT_LIST_DIR}/types/texttypes.h ${CMAKE_CURRENT_LIST_DIR}/types/commontypes.h diff --git a/src/inspector/inspectormodule.cpp b/src/inspector/inspectormodule.cpp index c7224c4016..8688e6a8e0 100644 --- a/src/inspector/inspectormodule.cpp +++ b/src/inspector/inspectormodule.cpp @@ -50,7 +50,6 @@ #include "types/articulationtypes.h" #include "types/ambitustypes.h" #include "types/chordsymboltypes.h" -#include "types/scoreappearancetypes.h" #include "types/bendtypes.h" #include "types/tremolobartypes.h" #include "types/tremolotypes.h" @@ -106,7 +105,6 @@ void InspectorModule::registerUiTypes() qmlRegisterUncreatableType("MuseScore.Inspector", 1, 0, "AmbitusTypes", "Not creatable as it is an enum type"); qmlRegisterUncreatableType("MuseScore.Inspector", 1, 0, "ChordSymbolTypes", "Not creatable as it is an enum type"); qmlRegisterType("MuseScore.Inspector", 1, 0, "FretCanvas"); - qmlRegisterUncreatableType("MuseScore.Inspector", 1, 0, "ScoreAppearanceTypes", "Not creatable..."); qmlRegisterType("MuseScore.Inspector", 1, 0, "GridCanvas"); qmlRegisterUncreatableType("MuseScore.Inspector", 1, 0, "BendTypes", "Not creatable as it is an enum type"); qmlRegisterUncreatableType("MuseScore.Inspector", 1, 0, "TremoloBarTypes", "Not creatable as it is an enum type"); diff --git a/src/inspector/models/score/scoreappearancesettingsmodel.cpp b/src/inspector/models/score/scoreappearancesettingsmodel.cpp index 0234b0a15c..eb95b6da14 100644 --- a/src/inspector/models/score/scoreappearancesettingsmodel.cpp +++ b/src/inspector/models/score/scoreappearancesettingsmodel.cpp @@ -21,9 +21,7 @@ */ #include "scoreappearancesettingsmodel.h" -#include "log.h" #include "translation.h" -#include "types/scoreappearancetypes.h" using namespace mu::inspector; using namespace mu::notation; diff --git a/src/inspector/types/scoreappearancetypes.h b/src/inspector/types/scoreappearancetypes.h deleted file mode 100644 index 3d9c03a8e8..0000000000 --- a/src/inspector/types/scoreappearancetypes.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * SPDX-License-Identifier: GPL-3.0-only - * MuseScore-CLA-applies - * - * MuseScore - * Music Composition & Notation - * - * Copyright (C) 2021 MuseScore BVBA and others - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef MU_INSPECTOR_SCOREAPPEARANCETYPES_H -#define MU_INSPECTOR_SCOREAPPEARANCETYPES_H - -#include "qobjectdefs.h" - -namespace mu::inspector { -class ScoreAppearanceTypes -{ - Q_GADGET - -public: - - enum class OrientationType { - ORIENTATION_PORTRAIT = 0, - ORIENTATION_LANDSCAPE - }; - - Q_ENUM(OrientationType) -}; -} - -#endif // MU_INSPECTOR_SCOREAPPEARANCETYPES_H