|
|
|
@ -188,6 +188,8 @@ TQString KURIFilterData::iconName()
|
|
|
|
|
m_strIconName = exeName;
|
|
|
|
|
else {
|
|
|
|
|
// not found, try to load from elf file (if supported)
|
|
|
|
|
// otherwise use default
|
|
|
|
|
m_strIconName = TQString::fromLatin1("exec");
|
|
|
|
|
#ifdef HAVE_ELFICON
|
|
|
|
|
// Check for an embedded icon
|
|
|
|
|
unsigned int icon_size;
|
|
|
|
@ -244,6 +246,7 @@ TQString KURIFilterData::iconName()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (libr_can_continue == 1) {
|
|
|
|
|
if ((iconresnamefound == 0) && (icon)) {
|
|
|
|
|
// Extract the embedded icon
|
|
|
|
|
size_t icon_data_length;
|
|
|
|
@ -261,10 +264,8 @@ TQString KURIFilterData::iconName()
|
|
|
|
|
libr_close(handle);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif // HAVE_ELFICON
|
|
|
|
|
|
|
|
|
|
// not found, use default
|
|
|
|
|
m_strIconName = TQString::fromLatin1("exec");
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|