[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars
From: Akarsh Simha <akarshsimha () gmail ! com>
Date: 2011-01-01 4:27:44
Message-ID: 20110101042744.3082DAC8B5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1210561 by asimha:
Fix bug with InfoBoxes. InfoBoxes should be a child of the QWidget
when using GL, since we still don't support InfoBoxes in OpenGL mode.
M +7 -0 skymap.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymap.cpp #1210560:1210561
@@ -250,7 +250,14 @@
m_Scene = new QGraphicsScene( rect() );
setScene( m_Scene );
*/
+
+#ifdef HAVE_OPENGL
+ // If GL is enabled, the InfoBoxes work only with native painting.
+ m_iboxes = new InfoBoxes( m_SkyMapQDraw );
+#else
m_iboxes = new InfoBoxes( m_SkyMapDraw );
+#endif
+
m_iboxes->setVisible( Options::showInfoBoxes() );
m_iboxes->setMouseTracking( false ); // DEBUG: Changed this to false. Why should \
we generate mouse move events, actually? m_iboxes->setAutoFillBackground( false );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic