aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-04-12 21:50:38 -0400
committerJake Petroules <jake.petroules@petroules.com>2013-04-15 14:51:30 +0200
commit490296e44ef496543118948372956894885522dc (patch)
treefb8ead8125b8be1330d2d3156dd62fd5ff38b42d /examples
parentbee77e3873b61bb12269c579175a75040a18f99f (diff)
Introduce QtMacExtras::setDockMenu.
qt_mac_set_dock_menu is now just a compatibility synonym. Change-Id: I16b9b04004a6821ae38180b7f3ec1b96fcd0115c Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/macfunctions/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/macfunctions/main.cpp b/examples/macfunctions/main.cpp
index 6faefde..43856fe 100644
--- a/examples/macfunctions/main.cpp
+++ b/examples/macfunctions/main.cpp
@@ -57,7 +57,7 @@ int main(int argc, char **argv)
QMenu menu;
menu.addAction("Item 1");
menu.addAction("Item 2");
- qt_mac_set_dock_menu(&menu);
+ QtMacExtras::setDockMenu(&menu);
// Pixmap <-> CGImage conversion
QPixmap pixmap(":qtlogo.png");