Hi,
I have a little qt frontend to wipe files with secure delete from within filemanagers. It does work from kde-filemanagers and stand-alone, but not from gnome. When I open files over a nautilus action, the filename ends up with a kind of html-encoding (%20 for space and so on). Please see this image to understand what I mean.
http://s3.directupload.net/file/u/22...y83qyk_png.htm
I have tried different encoding conversion functions like QString::latin1 and playing around with the options variables %F and %U with or without quotes. But it's all trial and error since I don't know where this encoding comes from.
Any ideas ?
Here is the relevant code, it's also highlighted in the image.
Code:
void qwipe::init(int argc, char* argv[])
{
for(int i=1;i<argc;i++)
{
QListWidgetItem *newItem = new QListWidgetItem;
newItem->setText(argv[i]);
fileView->insertItem(i-1, newItem);
}
}