made live-tool work after M/V-split

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@704 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-02-25 11:37:21 +00:00
parent 80d2241864
commit 32a3b7cf23
5 changed files with 83 additions and 38 deletions

View File

@@ -3,7 +3,7 @@
/*
* tool.cpp - base class for all tool plugins (graphs, extensions, etc)
*
* Copyright (c) 2006-2007 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
* Copyright (c) 2006-2008 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -70,8 +70,8 @@ tool * tool::instantiate( const QString & _plugin_name, model * _parent )
toolView::toolView( tool * _tool, QWidget * _parent ) :
pluginView( _tool, _parent )
toolView::toolView( tool * _tool ) :
pluginView( _tool, engine::getMainWindow()->workspace() )
{
QWidget * window;
if( engine::getMainWindow()->workspace() )