mirror of https://github.com/AxioDL/amuse.git
Fix crashes while moving tiles
This commit is contained in:
parent
3290b706fc
commit
6e896fa1d3
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ signals:
|
|||
void valueChanged(int chanIdx, int val);
|
||||
|
||||
private:
|
||||
std::array<FieldSlider*, NumSliders> m_sliders;
|
||||
std::array<FieldSlider*, NumSliders> m_sliders {};
|
||||
};
|
||||
|
||||
class Uint32X8Button : public QPushButton {
|
||||
|
|
|
@ -1893,72 +1893,72 @@
|
|||
<context>
|
||||
<name>SoundMacroCatalogue</name>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="832"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="834"/>
|
||||
<source>Control</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="832"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="834"/>
|
||||
<source>Pitch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="833"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="835"/>
|
||||
<source>Sample</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="833"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="835"/>
|
||||
<source>Setup</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="834"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="836"/>
|
||||
<source>Special</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="834"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="836"/>
|
||||
<source>Structure</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="835"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="837"/>
|
||||
<source>Volume</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="838"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="840"/>
|
||||
<source>Commands to control the voice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="839"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="841"/>
|
||||
<source>Commands to control the voice's pitch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="840"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="842"/>
|
||||
<source>Commands to control the voice's sample playback</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="841"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="843"/>
|
||||
<source>Commands to setup the voice's mixing process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="842"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="844"/>
|
||||
<source>Miscellaneous commands</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="843"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="845"/>
|
||||
<source>Commands to control macro branching</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="844"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="846"/>
|
||||
<source>Commands to control the voice's volume</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1974,17 +1974,17 @@
|
|||
<context>
|
||||
<name>SoundMacroListing</name>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="575"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="577"/>
|
||||
<source>Reorder %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="687"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="689"/>
|
||||
<source>Insert %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SoundMacroEditor.cpp" line="732"/>
|
||||
<location filename="../SoundMacroEditor.cpp" line="734"/>
|
||||
<source>Delete %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2015,17 +2015,17 @@
|
|||
<context>
|
||||
<name>StudioSetupWidget</name>
|
||||
<message>
|
||||
<location filename="../StudioSetupWidget.cpp" line="933"/>
|
||||
<location filename="../StudioSetupWidget.cpp" line="935"/>
|
||||
<source>Studio Setup</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../StudioSetupWidget.cpp" line="950"/>
|
||||
<location filename="../StudioSetupWidget.cpp" line="952"/>
|
||||
<source>Aux A</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../StudioSetupWidget.cpp" line="951"/>
|
||||
<location filename="../StudioSetupWidget.cpp" line="953"/>
|
||||
<source>Aux B</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue