aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/macfunctions/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/macfunctions/main.cpp b/examples/macfunctions/main.cpp
index 53015ee..6faefde 100644
--- a/examples/macfunctions/main.cpp
+++ b/examples/macfunctions/main.cpp
@@ -61,8 +61,8 @@ int main(int argc, char **argv)
// Pixmap <-> CGImage conversion
QPixmap pixmap(":qtlogo.png");
- CGImageRef cgImage = QtMacExtras::toMacCGImageRef(pixmap);
- QPixmap pixmap2 = QtMacExtras::fromMacCGImageRef(cgImage);
+ CGImageRef cgImage = QtMacExtras::toCGImageRef(pixmap);
+ QPixmap pixmap2 = QtMacExtras::fromCGImageRef(cgImage);
return app.exec();
}