-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 | |||
@@ -125,13 +125,13 @@ void SysTray::addApplets() | |||
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 |