[Marble-devel] FileViewFloatItem

Anders Lund anders at alweb.dk
Tue Nov 6 21:34:06 UTC 2012


Hello List,

Still exploring the marble code, I tried to make the FileViewFloatItem work, 
but ran into this:

/home/anders/src/marble/src/plugins/render/fileview/FileViewFloatItem.cpp: In 
member function ‘virtual void 
Marble::FileViewFloatItem::paintContent(QPainter*)’:
/home/anders/src/marble/src/plugins/render/fileview/FileViewFloatItem.cpp:138:59: 
fejl: passing ‘const Marble::MarbleModel’ as ‘this’ argument of 
‘Marble::FileViewModel* Marble::MarbleModel::fileViewModel()’ discards 
qualifiers [-fpermissive]

AFAICS, since marbleModel() is const, there is no easy solution?

Sorry for my ignorance :$
-- 
Anders


More information about the Marble-devel mailing list