diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-01-03 10:33:51 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-03 16:15:37 +0100 |
commit | 4319f698c893683c6a031e41272b85cfb25ac931 (patch) | |
tree | 2f830ad6f0f7474c16932610dc1e4c37dfe12f58 /examples/threads | |
parent | 0fd0f8dfa05b9832f93cb8c1bc82220dd8d78eb2 (diff) |
Remove metatype registration of built-in types.
As they are built-in, they are effectively registered at compile-time
already.
Change-Id: I7ae6ba16088eab5d19213fa7b07c2a7760988a86
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'examples/threads')
-rw-r--r-- | examples/threads/mandelbrot/mandelbrotwidget.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/threads/mandelbrot/mandelbrotwidget.cpp b/examples/threads/mandelbrot/mandelbrotwidget.cpp index 3a10a7a726..4e4dd5b5cc 100644 --- a/examples/threads/mandelbrot/mandelbrotwidget.cpp +++ b/examples/threads/mandelbrot/mandelbrotwidget.cpp @@ -65,7 +65,6 @@ MandelbrotWidget::MandelbrotWidget(QWidget *parent) pixmapScale = DefaultScale; curScale = DefaultScale; - qRegisterMetaType<QImage>("QImage"); connect(&thread, SIGNAL(renderedImage(QImage,double)), this, SLOT(updatePixmap(QImage,double))); setWindowTitle(tr("Mandelbrot")); |