SongEditor: remove unused messing with engine's pointer to SongEditor

Back in time we obviously didn't manage to get construction dependencies
sorted so we needed to mess with the pointer to the SongEditor instance in
the engine class.

Thanks to Alexandre Almeida for pointing out this issue.

Closes #261.
This commit is contained in:
Tobias Doerffel
2014-02-06 20:48:40 +01:00
parent 7cddb23fbf
commit eccfc0c688
3 changed files with 3 additions and 10 deletions

View File

@@ -1,5 +1,3 @@
#ifndef SINGLE_SOURCE_COMPILE
/*
* engine.cpp - implementation of LMMS' engine-system
*
@@ -91,7 +89,7 @@ void engine::init( const bool _has_gui )
if( s_hasGUI )
{
s_mainWindow = new MainWindow;
s_songEditor = new songEditor( s_song, s_songEditor );
s_songEditor = new songEditor( s_song );
s_fxMixerView = new FxMixerView;
s_controllerRackView = new ControllerRackView;
s_projectNotes = new projectNotes;
@@ -190,6 +188,3 @@ void engine::initPluginFileHandling()
}
#endif