Lines 29-35
Link Here
|
29 |
# include <QToolButton> |
29 |
# include <QToolButton> |
30 |
# include <QStateMachine> |
30 |
# include <QStateMachine> |
31 |
# include <QPainter> |
31 |
# include <QPainter> |
|
|
32 |
# if QT_VERSION >= 0x050000 |
32 |
# include <QWindow> |
33 |
# include <QWindow> |
|
|
34 |
# endif |
33 |
# ifdef VBOX_WS_X11 |
35 |
# ifdef VBOX_WS_X11 |
34 |
# include <QWindowStateChangeEvent> |
36 |
# include <QWindowStateChangeEvent> |
35 |
# endif |
37 |
# endif |
Lines 806-811
void UIMiniToolBar::sltAdjust()
Link Here
|
806 |
#endif |
808 |
#endif |
807 |
} |
809 |
} |
808 |
|
810 |
|
|
|
811 |
# if QT_VERSION >= 0x050000 |
812 |
|
809 |
void UIMiniToolBar::sltAdjustTransience() |
813 |
void UIMiniToolBar::sltAdjustTransience() |
810 |
{ |
814 |
{ |
811 |
// WORKAROUND: |
815 |
// WORKAROUND: |
Lines 818-823
void UIMiniToolBar::sltAdjustTransience(
Link Here
|
818 |
windowHandle()->setTransientParent(m_pParent->windowHandle()); |
822 |
windowHandle()->setTransientParent(m_pParent->windowHandle()); |
819 |
} |
823 |
} |
820 |
|
824 |
|
|
|
825 |
#endif |
826 |
|
821 |
void UIMiniToolBar::prepare() |
827 |
void UIMiniToolBar::prepare() |
822 |
{ |
828 |
{ |
823 |
/* Install event-filters: */ |
829 |
/* Install event-filters: */ |