diff --git a/plugins/spectrum_analyzer/spectrumanalyzer_control_dialog.cpp b/plugins/spectrum_analyzer/spectrumanalyzer_control_dialog.cpp index 47ef54543..e17b2159d 100644 --- a/plugins/spectrum_analyzer/spectrumanalyzer_control_dialog.cpp +++ b/plugins/spectrum_analyzer/spectrumanalyzer_control_dialog.cpp @@ -27,7 +27,7 @@ #include #include "spectrum_analyzer.h" -#include "song_editor.h" +#include "main_window.h" #include "led_checkbox.h" #include "embed.h" @@ -61,7 +61,7 @@ public: m_background( PLUGIN_NAME::getIconPixmap( "spectrum_background" ).toImage() ) { setFixedSize( 249, 151 ); - connect( engine::getSongEditor(), SIGNAL( periodicUpdate() ), + connect( engine::getMainWindow(), SIGNAL( periodicUpdate() ), this, SLOT( update() ) ); setAttribute( Qt::WA_OpaquePaintEvent, TRUE ); }