summaryrefslogtreecommitdiff
path: root/core/launcher/systray.cpp
authorsandman <sandman>2002-10-02 22:06:33 (UTC)
committer sandman <sandman>2002-10-02 22:06:33 (UTC)
commitb757807635fddb4824eabd87f72c96a0929c5cb1 (patch) (side-by-side diff)
tree831e4870fe1562507540b386cbcbd1ea93ecb9a8 /core/launcher/systray.cpp
parent2682a282dc87074bdc61d241d5b2d76e8533982c (diff)
downloadopie-b757807635fddb4824eabd87f72c96a0929c5cb1.zip
opie-b757807635fddb4824eabd87f72c96a0929c5cb1.tar.gz
opie-b757807635fddb4824eabd87f72c96a0929c5cb1.tar.bz2
- Qtopia 1.6 launcher merge (again - should be finished soon)
- Support for O-Menu applets (similiar to Taskbar applets)
Diffstat (limited to 'core/launcher/systray.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/systray.cpp2
1 files changed, 1 insertions, 1 deletions
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;