lang = ""; // otherwise there would be many warnings :-(
1053
text.insertMulti(lang, e.text());
1109
QString t = e.text();
1110
if (!t.isEmpty()) {
1111
text.append(PsiIcon::IconText(lang, t));
1112
}
1054
1113
}
1055
1114
else if ( tag == "object" ) {
1056
1115
object[e.attribute("mime")] = e.text();
1131
1190
}
1132
1191
}
1133
1192
1134
if ( icon.loadFromData( loadData(graphic[*it], dir), isAnimated ) ) {
1193
QByteArray ba = loadData(graphic[*it], dir);
1194
1195
if ( icon.loadFromData( ba, isAnimated ) ) {
1135
1196
loadSuccess = true;
1136
1197
break;
1137
1198
}
1138
1199
else {
1139
qDebug("Iconset::load(): Couldn't load %s graphic for the %s icon for the %s iconset", (*it).latin1(), name.latin1(), this->name.latin1());
1200
qDebug("Iconset::load(): Couldn't load %s (%s) graphic for the %s icon for the %s iconset", (*it).toLatin1().data(), graphic[*it].toLatin1().data(), name.toLatin1().data(), this->name.latin1());