From b757807635fddb4824eabd87f72c96a0929c5cb1 Mon Sep 17 00:00:00 2001 From: sandman Date: Wed, 02 Oct 2002 22:06:33 +0000 Subject: - Qtopia 1.6 launcher merge (again - should be finished soon) - Support for O-Menu applets (similiar to Taskbar applets) --- (limited to 'core/launcher/systray.cpp') diff --git a/core/launcher/systray.cpp b/core/launcher/systray.cpp index 697971d..406c662 100644 --- a/core/launcher/systray.cpp +++ b/core/launcher/systray.cpp @@ -102,7 +102,7 @@ void SysTray::addApplets() continue; TaskbarAppletInterface *iface = 0; QLibrary *lib = new QLibrary( path + "/" + *it ); - if ( lib->queryInterface( IID_TaskbarApplet, (QUnknownInterface**)&iface ) == QS_OK ) { + if (( lib->queryInterface( IID_TaskbarApplet, (QUnknownInterface**)&iface ) == QS_OK ) && iface ) { TaskbarApplet *applet = new TaskbarApplet; applets[napplets++] = applet; applet->library = lib; -- cgit v0.9.0.2