Add a forgotten Qt4 patch in the previous commit.

Pointyhat to:	jkim
PR:		218795
This commit is contained in:
Jung-uk Kim 2017-04-21 16:43:28 +00:00
parent 9ea2ab7d5e
commit 1b60b21578
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439099
2 changed files with 15 additions and 1 deletions

View File

@ -176,7 +176,8 @@ VBOX_WITH_QT= 1
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_net_UIDownloaderAdditions.cpp \
${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_net_UIDownloaderExtensionPack.cpp \
${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_settings_global_UIGlobalSettingsNetworkDetailsHost.cpp \
${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_widgets_UIMiniToolBar.cpp
${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_widgets_UIMiniToolBar.cpp \
${PATCHDIR}/extrapatch-src_VBox_Frontends_VirtualBox_src_widgets_UIMiniToolBar.h
CONFIGURE_ARGS+= --enable-qt4
USE_QT4= corelib gui linguist_build moc_build network opengl
USE_QT4+= rcc_build uic_build

View File

@ -0,0 +1,13 @@
--- src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.h.orig 2017-04-18 09:53:23 UTC
+++ src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.h
@@ -121,8 +121,10 @@ private slots:
void sltShow();
/** Adjusts window according to parent. */
void sltAdjust();
+#if QT_VERSION >= 0x050000
/** Adjusts window transience according to parent. */
void sltAdjustTransience();
+#endif
private: