]> Git trees. - libqmvoc.git/commitdiff
* Fixing a crash
authorCarsten Niehaus <cniehaus@gmx.de>
Sat, 17 Jun 2006 08:45:15 +0000 (08:45 +0000)
committerCarsten Niehaus <cniehaus@gmx.de>
Sat, 17 Jun 2006 08:45:15 +0000 (08:45 +0000)
* Fixing the connections, now the styleselector works
* Fixing the quality-setting

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=552262

kalzium/kalziumglwidget.h

index eafb904eda53615b335d91be33032c45679cac57..3215e98ed3b7e31cb2847f89e76e3223a0baa58b 100644 (file)
@@ -198,8 +198,11 @@ class KalziumGLWidget : public QGLWidget
                 * Chooses the style of rendering among some presets
                 * @param stylePreset the wanted style preset
                 */
-
                void slotChooseStylePreset( StylePreset stylePreset );
+               
+               void slotChooseStylePreset( int stylePreset ){
+                       slotChooseStylePreset( (StylePreset) stylePreset );
+               }
 
        protected:
                /**