r18206 by fschmid - Start OpenGL updates when showing the dialog.
scribus-commit
scribus-commit at lists.scribus.net
Sat Mar 16 08:39:13 UTC 2013
Author: fschmid
Date: Sat Mar 16 08:39:13 2013
New Revision: 18206
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18206
Log:
Start OpenGL updates when showing the dialog.
Modified:
trunk/Scribus/scribus/ui/AdapterWidget.h
Modified: trunk/Scribus/scribus/ui/AdapterWidget.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18206&path=/trunk/Scribus/scribus/ui/AdapterWidget.h
==============================================================================
--- trunk/Scribus/scribus/ui/AdapterWidget.h (original)
+++ trunk/Scribus/scribus/ui/AdapterWidget.h Sat Mar 16 08:39:13 2013
@@ -65,7 +65,11 @@
setThreadingModel ( osgViewer::Viewer::SingleThreaded );
connect ( &_timer, SIGNAL ( timeout() ), this, SLOT ( updateGL() ) );
- _timer.start ( 10 );
+ }
+
+ virtual void showEvent(QShowEvent *)
+ {
+ _timer.start(10);
}
virtual void paintGL()
More information about the scribus-commit
mailing list