Hi there guys,
I have a bit of a problem here, I have the following code:
newpath
= QFileDialog::getExistingDirectory(this, tr
("Open Directory"),
file.copy ( "/Applications/medadmin/sampledatabase", newpath);
QFile file;
QString newpath;
newpath = QFileDialog::getExistingDirectory(this, tr("Open Directory"),
"/", QFileDialog::ShowDirsOnly
| QFileDialog::DontResolveSymlinks);
file.copy ( "/Applications/medadmin/sampledatabase", newpath);
To copy to clipboard, switch view to plain text mode
The problem is: it doesn't copy the file to the place the user has selected it to.
What am I doing wrong? Any suggestions would be greatly appreciated;
Thanks in advance,
Nefastious
Bookmarks