Minor fixes

This commit is contained in:
Lukas W
2017-11-06 16:31:12 +01:00
parent 134dae80d5
commit 472a74d252
2 changed files with 1 additions and 15 deletions

View File

@@ -584,19 +584,6 @@ void VstPlugin::showUI()
QWidget * w = pluginWidget();
if( w )
{
# ifdef LMMS_BUILD_WIN32
// hide sw, plugin window wrapper on win32
// this is obtained from pluginWidget()
if( isEffect )
{
w->setWindowFlags( Qt::FramelessWindowHint );
w->setAttribute( Qt::WA_TranslucentBackground );
}
else
{
w->setWindowFlags( Qt::WindowCloseButtonHint );
}
# endif
w->show();
}
}

View File

@@ -140,8 +140,7 @@ SetupDialog::SetupDialog( ConfigTabs _tab_to_open ) :
"displaywaveform").toInt() ),
m_disableAutoQuit(ConfigManager::inst()->value( "ui",
"disableautoquit").toInt() ),
m_vstEmbedMethod(ConfigManager::inst()->value( "ui",
"vstembedmethod", "xembed"))
m_vstEmbedMethod( ConfigManager::inst()->vstEmbedMethod() )
{
setWindowIcon( embed::getIconPixmap( "setup_general" ) );
setWindowTitle( tr( "Setup LMMS" ) );