|
|
@ -180,7 +180,7 @@ void TDEIconCanvas::slotLoadFiles()
|
|
|
|
TQPixmap pm;
|
|
|
|
TQPixmap pm;
|
|
|
|
pm.convertFromImage(img);
|
|
|
|
pm.convertFromImage(img);
|
|
|
|
TQFileInfo fi(*it);
|
|
|
|
TQFileInfo fi(*it);
|
|
|
|
TQIconViewItem *item = new TQIconViewItem(this, fi.baseName(), pm);
|
|
|
|
TQIconViewItem *item = new TQIconViewItem(this, fi.baseName(true), pm);
|
|
|
|
item->setKey(*it);
|
|
|
|
item->setKey(*it);
|
|
|
|
item->setDragEnabled(false);
|
|
|
|
item->setDragEnabled(false);
|
|
|
|
item->setDropEnabled(false);
|
|
|
|
item->setDropEnabled(false);
|
|
|
@ -510,7 +510,7 @@ TQString TDEIconDialog::openDialog()
|
|
|
|
if (name.isEmpty() || (mType == 1))
|
|
|
|
if (name.isEmpty() || (mType == 1))
|
|
|
|
return name;
|
|
|
|
return name;
|
|
|
|
TQFileInfo fi(name);
|
|
|
|
TQFileInfo fi(name);
|
|
|
|
return fi.baseName();
|
|
|
|
return fi.baseName(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return TQString::null;
|
|
|
|
return TQString::null;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -535,7 +535,7 @@ void TDEIconDialog::slotOk()
|
|
|
|
if (!name.isEmpty() && (mType != 1))
|
|
|
|
if (!name.isEmpty() && (mType != 1))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQFileInfo fi(name);
|
|
|
|
TQFileInfo fi(name);
|
|
|
|
name = fi.baseName();
|
|
|
|
name = fi.baseName(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|