i'm trying to set the history on the QFileDialog, but it doesn't seem to appear anywhere.
QFileDialog dialog(parent, caption, path, filter);
dialog.setHistory(history);
dialog.exec();
But i don't see the history in the dialog anywhere. Where should it be? Should it be anywhere? What am I doing wrong here?
edit:
I made this little hack to make it work even with filenames
for(int index = 0; index < files.size(); index++)
{
QFileinfo info(files[index]);
files[index] = info.path();
}