Restrict "qt" embed method to Qt5 only

This commit is contained in:
Hyunin Song
2017-11-06 23:28:45 +09:00
parent df3c07bbed
commit b0f64dea7f
2 changed files with 6 additions and 0 deletions

View File

@@ -343,7 +343,10 @@ SetupDialog::SetupDialog( ConfigTabs _tab_to_open ) :
m_vstEmbedComboBox = new QComboBox( embed_tw );
m_vstEmbedComboBox->move( XDelta, YDelta );
m_vstEmbedComboBox->addItem( tr( "No embedding" ), "none" );
#if QT_VERSION >= 0x050100
m_vstEmbedComboBox->addItem( tr( "Embed using Qt API" ), "qt" );
#endif
#ifdef LMMS_BUILD_LINUX
if ( QX11Info::isPlatformX11() ) {
m_vstEmbedComboBox->addItem( tr( "Embed using XEmbed protocol" ), "xembed" );