- Fixed preview when path contain spaces

This commit is contained in:
Christophe Dumez 2007-12-09 09:30:06 +00:00
parent 82b1b29906
commit f1aa1f993d

View file

@ -439,7 +439,7 @@ void GUI::on_actionExit_triggered() {
}
void GUI::previewFile(QString filePath) {
QDesktopServices::openUrl(filePath);
QDesktopServices::openUrl(QString("file://")+filePath);
}
unsigned int GUI::getCurrentTabIndex() const{