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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user