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