diff options
Diffstat (limited to 'metawatch/metawatch.cpp')
-rw-r--r-- | metawatch/metawatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metawatch/metawatch.cpp b/metawatch/metawatch.cpp index 32e8707..c7e0db3 100644 --- a/metawatch/metawatch.cpp +++ b/metawatch/metawatch.cpp @@ -117,7 +117,7 @@ MetaWatch::~MetaWatch() QPaintEngine* MetaWatch::paintEngine() const { if (!_paintEngine) { - _paintEngine = new MetaWatchPaintEngine(const_cast<MetaWatch*>(this)); + _paintEngine = new MetaWatchPaintEngine; } return _paintEngine; |