diff --git a/Editor/SoundMacroEditor.cpp b/Editor/SoundMacroEditor.cpp index 64ab342..007f1f3 100644 --- a/Editor/SoundMacroEditor.cpp +++ b/Editor/SoundMacroEditor.cpp @@ -516,6 +516,7 @@ void SoundMacroListing::startAutoscroll(QWidget* source, QMouseEvent* event, int m_autoscrollSource = source; if (m_autoscrollEvent) { delete m_autoscrollEvent; + m_autoscrollEvent = nullptr; } m_autoscrollEvent = event->clone(); } @@ -528,6 +529,7 @@ void SoundMacroListing::stopAutoscroll() { m_autoscrollDelta = 0; if (m_autoscrollEvent) { delete m_autoscrollEvent; + m_autoscrollEvent = nullptr; } m_autoscrollSource = nullptr; } diff --git a/Editor/StudioSetupWidget.cpp b/Editor/StudioSetupWidget.cpp index d616e65..9535663 100644 --- a/Editor/StudioSetupWidget.cpp +++ b/Editor/StudioSetupWidget.cpp @@ -498,6 +498,7 @@ void EffectListing::startAutoscroll(QWidget* source, QMouseEvent* event, int del m_autoscrollSource = source; if (m_autoscrollEvent != nullptr) { delete m_autoscrollEvent; + m_autoscrollEvent = nullptr; } m_autoscrollEvent = event->clone(); } @@ -510,6 +511,7 @@ void EffectListing::stopAutoscroll() { m_autoscrollDelta = 0; if (m_autoscrollEvent != nullptr) { delete m_autoscrollEvent; + m_autoscrollEvent = nullptr; } m_autoscrollSource = nullptr; } diff --git a/Editor/StudioSetupWidget.hpp b/Editor/StudioSetupWidget.hpp index fceaf1a..e6f9849 100644 --- a/Editor/StudioSetupWidget.hpp +++ b/Editor/StudioSetupWidget.hpp @@ -46,7 +46,7 @@ signals: void valueChanged(int chanIdx, int val); private: - std::array m_sliders; + std::array m_sliders {}; }; class Uint32X8Button : public QPushButton { diff --git a/Editor/resources/lang_de.ts b/Editor/resources/lang_de.ts index 5f877fc..e43a421 100644 --- a/Editor/resources/lang_de.ts +++ b/Editor/resources/lang_de.ts @@ -1893,72 +1893,72 @@ SoundMacroCatalogue - + Control - + Pitch - + Sample - + Setup - + Special - + Structure - + Volume - + Commands to control the voice - + Commands to control the voice's pitch - + Commands to control the voice's sample playback - + Commands to setup the voice's mixing process - + Miscellaneous commands - + Commands to control macro branching - + Commands to control the voice's volume @@ -1974,17 +1974,17 @@ SoundMacroListing - + Reorder %1 - + Insert %1 - + Delete %1 @@ -2015,17 +2015,17 @@ StudioSetupWidget - + Studio Setup - + Aux A - + Aux B