summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2/appearance.cpp
authorsandman <sandman>2002-10-04 01:22:10 (UTC)
committer sandman <sandman>2002-10-04 01:22:10 (UTC)
commite2f23d8a5169ffef63dcbbac920f68ef0f113792 (patch) (unidiff)
treee9ce43f61cd4332bfb055bf820ca5816477ac278 /noncore/settings/appearance2/appearance.cpp
parent587124a7c62abd6f0fd38da6958adbd2587f3b9f (diff)
downloadopie-e2f23d8a5169ffef63dcbbac920f68ef0f113792.zip
opie-e2f23d8a5169ffef63dcbbac920f68ef0f113792.tar.gz
opie-e2f23d8a5169ffef63dcbbac920f68ef0f113792.tar.bz2
small changes to support Qtopia 1.6 styles (even BC)
Diffstat (limited to 'noncore/settings/appearance2/appearance.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index 8cd54a2..4132b30 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -137,7 +137,7 @@ void Appearance::loadStyles ( QListBox *list )
137 QLibrary *lib = new QLibrary ( path + "/" + *it ); 137 QLibrary *lib = new QLibrary ( path + "/" + *it );
138 StyleInterface *iface; 138 StyleInterface *iface;
139 139
140 if ( lib-> queryInterface ( IID_Style, (QUnknownInterface **) &iface ) == QS_OK ) 140 if (( lib-> queryInterface ( IID_Style, (QUnknownInterface **) &iface ) == QS_OK ) && iface )
141 list-> insertItem ( new StyleListItem ( lib, iface )); 141 list-> insertItem ( new StyleListItem ( lib, iface ));
142 else 142 else
143 delete lib; 143 delete lib;