mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-23 23:49:36 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user