From 092c288a33975272bc4a4381b36fd9504243a932 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 22 Dec 2009 00:49:34 +0100 Subject: [PATCH] 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. (cherry picked from commit 5e711875f50d7cea1e1ef56e5635e9c46b77286c) --- plugins/vestige/vestige.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/vestige/vestige.cpp b/plugins/vestige/vestige.cpp index 096d3c661..838b0f49c 100644 --- a/plugins/vestige/vestige.cpp +++ b/plugins/vestige/vestige.cpp @@ -348,6 +348,11 @@ void VestigeInstrumentView::openPlugin( void ) 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" ) ); + } } }