summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qeventdispatcher_mac.mm
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-07-24 11:28:12 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-07-24 11:28:12 (GMT)
commited2a03b3bc85be056eca87928d18a746faa07bca (patch)
treedbfd8d2874c12f3229537dac08ed454587cfa306 /src/gui/kernel/qeventdispatcher_mac.mm
parent5e157ed2fc5a3780959da0246ceb2b20fabbbeb5 (diff)
downloadQt-ed2a03b3bc85be056eca87928d18a746faa07bca.zip
Qt-ed2a03b3bc85be056eca87928d18a746faa07bca.tar.gz
Qt-ed2a03b3bc85be056eca87928d18a746faa07bca.tar.bz2
Remove all the last vestiges of QuickDraw in Qt/Mac.
Panther was the last reason for having this around. We don't touch this code anywhere else in Qt. As a result it's orphaned and can be safely removed. It truly is the end of an era, but it's definitely worth celebrating. Quartz4Life!
Diffstat (limited to 'src/gui/kernel/qeventdispatcher_mac.mm')
-rw-r--r--src/gui/kernel/qeventdispatcher_mac.mm10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/kernel/qeventdispatcher_mac.mm b/src/gui/kernel/qeventdispatcher_mac.mm
index cde0c47..af36d9f 100644
--- a/src/gui/kernel/qeventdispatcher_mac.mm
+++ b/src/gui/kernel/qeventdispatcher_mac.mm
@@ -506,16 +506,6 @@ bool QEventDispatcherMac::processEvents(QEventLoop::ProcessEventsFlags flags)
wakeUp();
emit awake();
-#ifndef QT_MAC_NO_QUICKDRAW
- if(!qt_mac_safe_pdev) { //create an empty widget and this can be used for a port anytime
- QWidget *tlw = new QWidget;
- tlw->setAttribute(Qt::WA_DeleteOnClose);
- tlw->setObjectName(QLatin1String("empty_widget"));
- tlw->hide();
- qt_mac_safe_pdev = tlw;
- }
-#endif
-
bool retVal = false;
forever {
if (d->interrupt)