summaryrefslogtreecommitdiff
path: root/muse2/muse/app.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-07-28 17:11:30 +0000
committerFlorian Jung <flo@windfisch.org>2011-07-28 17:11:30 +0000
commitdea19421318fdef6cc0f3d9bbfae29c5470361a3 (patch)
tree6e55933756a7cd374492b2e4bcfa948cd48d823f /muse2/muse/app.h
parentedf44d278da25cb159024fc60596b76bec227924 (diff)
speeded up structural operations
fixed several heavy bugs in structural operations: - global insert freezed muse - global cut and global insert behaved wrong on parts not starting at the zeroth tick - fixed upper_bound vs. lower_bound issues clicking below the track list now deselects all tracks moved checkRegionNotNull() where it belongs
Diffstat (limited to 'muse2/muse/app.h')
-rw-r--r--muse2/muse/app.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/app.h b/muse2/muse/app.h
index 3fd93fc8..ccf3706b 100644
--- a/muse2/muse/app.h
+++ b/muse2/muse/app.h
@@ -64,6 +64,7 @@ class WaveTrack;
class AudioOutput;
class EditInstrument;
class ScoreEdit;
+class Undo;
#define MENU_ADD_SYNTH_ID_BASE 0x1000
@@ -319,7 +320,7 @@ class MusE : public QMainWindow
void execDeliveredScript(int);
void execUserScript(int);
private:
- void adjustGlobalLists(int startPos, int diff);
+ void adjustGlobalLists(Undo& operations, int startPos, int diff);
public slots:
bool saveAs();