~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Frontends/VirtualBox/src/VBoxTakeSnapshotDlg.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: VBoxTakeSnapshotDlg.cpp $ */
 
1
/* $Id: VBoxTakeSnapshotDlg.cpp 31319 2010-08-02 16:41:47Z vboxsync $ */
2
2
/** @file
3
3
 *
4
4
 * VBox frontends: Qt4 GUI ("VirtualBox"):
40
40
#ifdef Q_WS_MAC
41
41
    /* No sheets in another mode than normal for now. Firstly it looks ugly and
42
42
     * secondly in some cases it is broken. */
43
 
    if (   qobject_cast<UIMachineWindowNormal*>(pParent)
 
43
    if (   vboxGlobal().isSheetWindowsAllowed(pParent)
44
44
        || qobject_cast<VBoxSnapshotsWgt*>(pParent))
45
 
        setWindowFlags (Qt::Sheet);
 
45
        setWindowFlags(Qt::Sheet);
46
46
#endif /* Q_WS_MAC */
47
47
 
48
48
    /* Apply UI decorations */