VeSTige: set VeSTige logo as window icon for plugin GUI subwindow

Up to now the MainWindow's icon was used for VST plugin GUI subwindows.
Improve this a little bit by using the VeSTige logo now.
This commit is contained in:
Tobias Doerffel
2009-12-22 00:49:34 +01:00
parent ca2440d1c4
commit 5e711875f5

View File

@@ -360,6 +360,11 @@ void VestigeInstrumentView::openPlugin()
engine::getMixer()->lock();
m_vi->loadFile( ofd.selectedFiles()[0] );
engine::getMixer()->unlock();
if( m_vi->m_plugin && m_vi->m_plugin->pluginWidget() )
{
m_vi->m_plugin->pluginWidget()->setWindowIcon(
PLUGIN_NAME::getIconPixmap( "logo" ) );
}
}
}