author | eilers <eilers> | 2004-04-01 11:18:49 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-04-01 11:18:49 (UTC) |
commit | 833413cc389e7ddc929c081e29279a6556733407 (patch) (side-by-side diff) | |
tree | 1539009189e80de7ba6a825397742ead516f7164 | |
parent | 4910b98d6fc0725337b494a03fa05e18209b99e3 (diff) | |
download | opie-833413cc389e7ddc929c081e29279a6556733407.zip opie-833413cc389e7ddc929c081e29279a6556733407.tar.gz opie-833413cc389e7ddc929c081e29279a6556733407.tar.bz2 |
Fixed silly bug..
-rw-r--r-- | library/qlibrary_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qlibrary_unix.cpp b/library/qlibrary_unix.cpp index 0229b7b..ff69286 100644 --- a/library/qlibrary_unix.cpp +++ b/library/qlibrary_unix.cpp @@ -148,33 +148,33 @@ bool QLibraryPrivate::freeLibrary() //qDebug("QLibraryPrivate::freeLibrary\n"); //return FALSE; if ( !pHnd ) return TRUE; DyldLibDesc* desc = (DyldLibDesc*) pHnd; NSModule mod = desc->mod; NSObjectFileImage img = desc->img; DYLD_BOOL success = NSUnLinkModule(mod, NSUNLINKMODULE_OPTION_NONE); if ( success ) { NSDestroyObjectFileImage(img); delete desc; pHnd = 0; } #if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT) else { - qWarning( "Error in NSUnLinkModule(): %d", ret ); + qWarning( "Error in NSUnLinkModule()" ); } #endif return pHnd == 0; } void* QLibraryPrivate::resolveSymbol( const char* symbol ) { //qDebug("QLibraryPrivate::resolveSymbol\n"); //return FALSE; if ( !pHnd ) return 0; DyldLibDesc* desc = (DyldLibDesc*) pHnd; NSSymbol sym = NSLookupSymbolInModule(desc->mod, symbol); void* address = 0; if (sym != 0) { |