moved peridic update-timer from songEditor to mainWindow

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1575 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-09-07 13:32:30 +00:00
parent 058d284c8c
commit 01442ab394

View File

@@ -27,7 +27,7 @@
#include <QtGui/QPainter>
#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 );
}