examples/widgets/styles/widgetgallery.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/examples/widgets/styles/widgetgallery.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/examples/widgets/styles/widgetgallery.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -70,9 +70,9 @@
 //! [0]
 
 //! [1]
-    connect(styleComboBox, SIGNAL(activated(const QString &)),
+    connect(styleComboBox, SIGNAL(activated(QString)),
 //! [1] //! [2]
-            this, SLOT(changeStyle(const QString &)));
+            this, SLOT(changeStyle(QString)));
     connect(useStylePaletteCheckBox, SIGNAL(toggled(bool)),
             this, SLOT(changePalette()));
     connect(disableWidgetsCheckBox, SIGNAL(toggled(bool)),