diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a28934fb8dbc059e39cd1acd2f66e68515d05f29..9c614dc0d12264e326bb42721661fa4fa61e8c7c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,6 +54,4 @@ Some of the feature may not be used or not already be in use for multiple reasons: - the new C++20 modules feature is not used because I don't know how it - will play with `moc`. It's not supported by clangd for now anyway - - + will play with `moc`. It's not supported by clangd for now anyway. diff --git a/src/Lib/Utils.hh b/src/Lib/Utils.hh index e8095145f4ed85b989f84e08ac03655115757cbf..8c5a483b334ecaf3016242d4f567c6883bf81e3c 100644 --- a/src/Lib/Utils.hh +++ b/src/Lib/Utils.hh @@ -136,7 +136,7 @@ enum class DocumentType : quint64 { /* Meta-types */ Audio = (WAVE | OGG | MP3 | M4A | OPUS | MP2 | AIFF | FLAC | ALAC), - Video = (MKV | MP4 | MOV | AVI | AV1 | M4V | FLV), + Video = (MKV | MP4 | MOV | AVI | AV1 | M4V | FLV) }; template <typename E> constexpr auto @@ -175,7 +175,7 @@ enum class AudioDocumentType : quint64 { MP2 = Utils::toUnderlying(Utils::DocumentType::MP2), AIFF = Utils::toUnderlying(Utils::DocumentType::AIFF), FLAC = Utils::toUnderlying(Utils::DocumentType::FLAC), - ALAC = Utils::toUnderlying(Utils::DocumentType::ALAC), + ALAC = Utils::toUnderlying(Utils::DocumentType::ALAC) }; // Video document types @@ -186,13 +186,11 @@ enum class VideoDocumentType : quint64 { AVI = Utils::toUnderlying(Utils::DocumentType::AVI), AV1 = Utils::toUnderlying(Utils::DocumentType::AV1), M4V = Utils::toUnderlying(Utils::DocumentType::M4V), - FLV = Utils::toUnderlying(Utils::DocumentType::FLV), + FLV = Utils::toUnderlying(Utils::DocumentType::FLV) }; // Ass document types -enum class AssDocumentType : quint64 { - ASS = Utils::toUnderlying(Utils::DocumentType::ASS), -}; +enum class AssDocumentType : quint64 { ASS = Utils::toUnderlying(Utils::DocumentType::ASS) }; } class QMenu; diff --git a/src/VivyApplication.hh b/src/VivyApplication.hh index 757dcff18f8e029802675da3cff344b4147512a6..1ba91685512f43b533e4e3cd06a511bb871c35ef 100644 --- a/src/VivyApplication.hh +++ b/src/VivyApplication.hh @@ -6,8 +6,8 @@ #define vivyApp static_cast<VivyApplication *>(QApplication::instance()) -#define currentVivyDocument() dynamic_cast<VivyDocument*>(vivyApp->getCurrentDocument()) -#define currentScriptDocument dynamic_cast<ScriptDocument*>(vivyApp->getCurrentDocument()) +#define currentVivyDocument() dynamic_cast<VivyDocument *>(vivyApp->getCurrentDocument()) +#define currentScriptDocument dynamic_cast<ScriptDocument *>(vivyApp->getCurrentDocument()) // Only support dark theme for now #define VIVY_ICON_APP ":icons/vivy.png"