[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [marble/Applications/15.12] src/lib/marble/declarative: Call qmlRegisterUncreatableType for Marble::
From:       Friedrich W. H. Kossebau <kossebau () kde ! org>
Date:       2016-01-31 19:57:30
Message-ID: E1aPy7m-0004Mb-F7 () scm ! kde ! org
[Download RAW message or body]

Git commit 2d50edf5d06ccac613660baad9ce9c48af800d6d by Friedrich W. H. Koss=
ebau.
Committed on 31/01/2016 at 19:57.
Pushed by kossebau into branch 'Applications/15.12'.

Call qmlRegisterUncreatableType for Marble::MarbleMap

Summary:
QtQml 5.3 seems to need this even for passing just Marble::MarbleMap* values
between objects, without accessing any properties of Marble::MarbleMap

Reviewers: nienhueser

Reviewed By: nienhueser

Projects: #marble

Differential Revision: https://phabricator.kde.org/D579

M  +1    -0    src/lib/marble/declarative/MarbleDeclarativePlugin.cpp

http://commits.kde.org/marble/2d50edf5d06ccac613660baad9ce9c48af800d6d

diff --git a/src/lib/marble/declarative/MarbleDeclarativePlugin.cpp b/src/l=
ib/marble/declarative/MarbleDeclarativePlugin.cpp
index 722c8c0..26cd207 100644
--- a/src/lib/marble/declarative/MarbleDeclarativePlugin.cpp
+++ b/src/lib/marble/declarative/MarbleDeclarativePlugin.cpp
@@ -78,6 +78,7 @@ void MarbleDeclarativePlugin::registerTypes( const char *=
uri )
     qmlRegisterUncreatableType<BookmarksModel>( uri, 0, 20, "BookmarksMode=
l", "Do not create" );
     qmlRegisterUncreatableType<Marble::AbstractFloatItem>( uri, 0, 20, "Fl=
oatItem", "Do not create" );
     qmlRegisterUncreatableType<Marble::RenderPlugin>( uri, 0, 20, "RenderP=
lugin", "Do not create" );
+    qmlRegisterUncreatableType<Marble::MarbleMap>( uri, 0, 20, "MarbleMap"=
, "Do not create" );
 }
 =

 void MarbleDeclarativePlugin::initializeEngine( QQmlEngine *engine, const =
char *)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic