          QTimer::singleShot(1, q, SLOT(_q_macRunNativeAppModalPanel()));
 diff -ruN qt-4.8.6/src/gui/kernel/qapplication_mac.mm qt-4.8.6-new/src/gui/kernel/qapplication_mac.mm
 --- qt-4.8.6/src/gui/kernel/qapplication_mac.mm	2014-04-10 12:37:12.000000000 -0600
-+++ qt-4.8.6-new/src/gui/kernel/qapplication_mac.mm	2015-02-04 12:20:46.000000000 -0700
++++ qt-4.8.6-new/src/gui/kernel/qapplication_mac.mm	2015-03-08 04:49:48.931928450 -0600
 @@ -468,7 +468,7 @@
          image = static_cast<NSImage *>(qt_mac_create_nsimage(pixmap));
      }

     deleteLater();
diff -ruN qt-4.8.6/src/gui/kernel/qt_cocoa_helpers_mac.mm qt-4.8.6-new/src/gui/kernel/qt_cocoa_helpers_mac.mm
--- qt-4.8.6/src/gui/kernel/qt_cocoa_helpers_mac.mm	2014-04-10 12:37:12.000000000 -0600
+++ qt-4.8.6-new/src/gui/kernel/qt_cocoa_helpers_mac.mm	2015-02-04 12:20:46.000000000 -0700
@@ -1697,7 +1697,7 @@
     NSEvent *e = [NSEvent otherEventWithType:NSApplicationDefined
         location:NSZeroPoint modifierFlags:0 timestamp:0 windowNumber:0

     };
     static const MacVersion MacintoshVersion;
 #endif
diff -ruN qt-4.8.6/src/corelib/tools/qsharedpointer_impl.h qt-4.8.6-new/src/corelib/tools/qsharedpointer_impl.h
--- qt-4.8.6/src/corelib/tools/qsharedpointer_impl.h	2014-04-10 12:37:11.000000000 -0600
+++ qt-4.8.6-new/src/corelib/tools/qsharedpointer_impl.h	2015-03-08 04:51:50.802229808 -0600
@@ -819,7 +819,7 @@
 template <class X, class T>
 Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerCast(const QSharedPointer<T> &src)
 {
-    register X *ptr = static_cast<X *>(src.data()); // if you get an error in this line, the cast is invalid
+    X *ptr = static_cast<X *>(src.data()); // if you get an error in this line, the cast is invalid
     return QtSharedPointer::copyAndSetPointer(ptr, src);
 }
 template <class X, class T>
@@ -831,7 +831,7 @@
 template <class X, class T>
 Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerDynamicCast(const QSharedPointer<T> &src)
 {
-    register X *ptr = dynamic_cast<X *>(src.data()); // if you get an error in this line, the cast is invalid
+    X *ptr = dynamic_cast<X *>(src.data()); // if you get an error in this line, the cast is invalid
     if (!ptr)
         return QSharedPointer<X>();
     return QtSharedPointer::copyAndSetPointer(ptr, src);
@@ -845,7 +845,7 @@
 template <class X, class T>
 Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerConstCast(const QSharedPointer<T> &src)
 {
-    register X *ptr = const_cast<X *>(src.data()); // if you get an error in this line, the cast is invalid
+    X *ptr = const_cast<X *>(src.data()); // if you get an error in this line, the cast is invalid
     return QtSharedPointer::copyAndSetPointer(ptr, src);
 }
 template <class X, class T>
@@ -865,7 +865,7 @@
 template <class X, class T>
 Q_INLINE_TEMPLATE QSharedPointer<X> qSharedPointerObjectCast(const QSharedPointer<T> &src)
 {
-    register X *ptr = qobject_cast<X *>(src.data());
+    X *ptr = qobject_cast<X *>(src.data());
     return QtSharedPointer::copyAndSetPointer(ptr, src);
 }
 template <class X, class T>
diff -ruN qt-4.8.6/src/gui/dialogs/qcolordialog_mac.mm qt-4.8.6-new/src/gui/dialogs/qcolordialog_mac.mm
--- qt-4.8.6/src/gui/dialogs/qcolordialog_mac.mm	2014-04-10 12:37:12.000000000 -0600
+++ qt-4.8.6-new/src/gui/dialogs/qcolordialog_mac.mm	2015-03-08 04:49:48.930928473 -0600
@@ -318,7 +318,7 @@
         // It's important that the modal event loop is stopped before
         // we accept/reject QColorDialog, since QColorDialog has its
