-rw-r--r-- | core/launcher/systray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/systray.cpp b/core/launcher/systray.cpp index 4859e48..be55791 100644 --- a/core/launcher/systray.cpp +++ b/core/launcher/systray.cpp | |||
@@ -123,17 +123,17 @@ void SysTray::addApplets() | |||
123 | } | 123 | } |
124 | cfg.writeEntry( "ExcludeApplets", exclude, ',' ); | 124 | cfg.writeEntry( "ExcludeApplets", exclude, ',' ); |
125 | qsort(applets,napplets,sizeof(applets[0]),compareAppletPositions); | 125 | qsort(applets,napplets,sizeof(applets[0]),compareAppletPositions); |
126 | while (napplets--) { | 126 | while (napplets--) { |
127 | TaskbarApplet *applet = applets[napplets]; | 127 | TaskbarApplet *applet = applets[napplets]; |
128 | applet->applet = applet->iface->applet( this ); | 128 | applet->applet = applet->iface->applet( this ); |
129 | appletList.append(*applet); | 129 | appletList.append(*applet); |
130 | } | 130 | } |
131 | delete applets; | 131 | delete [] applets; |
132 | #else | 132 | #else |
133 | TaskbarApplet applet; | 133 | TaskbarApplet applet; |
134 | applet.iface = new ClockAppletImpl(); | 134 | applet.iface = new ClockAppletImpl(); |
135 | applet.applet = applet.iface->applet( this ); | 135 | applet.applet = applet.iface->applet( this ); |
136 | appletList.append( a ); | 136 | appletList.append( a ); |
137 | #endif | 137 | #endif |
138 | show(); | 138 | show(); |
139 | 139 | ||