From 8f7c6575d97e4991b9421da8a57575f2448f51f5 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Sat, 17 Jun 2006 08:45:15 +0000 Subject: [PATCH] * Fixing a crash * 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kalzium/kalziumglwidget.h b/kalzium/kalziumglwidget.h index eafb904..3215e98 100644 --- a/kalzium/kalziumglwidget.h +++ b/kalzium/kalziumglwidget.h @@ -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: /** -- 2.47.3