diff options
Diffstat (limited to 'src/widgets/dialogs/qfontdialog.cpp')
-rw-r--r-- | src/widgets/dialogs/qfontdialog.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/widgets/dialogs/qfontdialog.cpp b/src/widgets/dialogs/qfontdialog.cpp index 30004df1a7..2a68d29bda 100644 --- a/src/widgets/dialogs/qfontdialog.cpp +++ b/src/widgets/dialogs/qfontdialog.cpp @@ -333,13 +333,6 @@ void QFontDialogPrivate::init() QFontDialog::~QFontDialog() { -#ifdef Q_WS_MAC - Q_D(QFontDialog); - if (d->delegate) { - d->closeCocoaFontPanel(); - return; - } -#endif } /*! @@ -804,11 +797,6 @@ void QFontDialog::setCurrentFont(const QFont &font) if (QPlatformFontDialogHelper *helper = d->platformFontDialogHelper()) helper->setCurrentFont(font); } - -#ifdef Q_WS_MAC - if (d->delegate) - QFontDialogPrivate::setFont(d->delegate, font); -#endif } /*! @@ -911,11 +899,6 @@ QFontDialog::FontDialogOptions QFontDialog::options() const return QFontDialog::FontDialogOptions(int(d->options->options())); } -#ifdef Q_WS_MAC -// can only have one Cocoa font panel active -bool QFontDialogPrivate::sharedFontPanelAvailable = true; -#endif - /*! \since 4.5 \overload |