Skip to content
Permalink
Browse files

fixing black canvas issue

  • Loading branch information
mbernasocchi committed Aug 21, 2011
1 parent 94ff04b commit 4308a4b117a2e5afa0282a7b9eb1fac9e5e61640
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgsmapcanvas.cpp
@@ -87,7 +87,9 @@ QgsMapCanvas::QgsMapCanvas( QWidget * parent, const char *name )
//disable the update that leads to the resize crash
if ( viewport() )
{
viewport()->setAttribute( Qt::WA_PaintOnScreen, true );
#ifndef ANDROID
viewport()->setAttribute( Qt::WA_PaintOnScreen, true );
#endif //ANDROID
}

mScene = new QGraphicsScene();

0 comments on commit 4308a4b

Please sign in to comment.
You can’t perform that action at this time.