mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Fixed preview when path contain spaces
This commit is contained in:
parent
82b1b29906
commit
f1aa1f993d
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ void GUI::on_actionExit_triggered() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUI::previewFile(QString filePath) {
|
void GUI::previewFile(QString filePath) {
|
||||||
QDesktopServices::openUrl(filePath);
|
QDesktopServices::openUrl(QString("file://")+filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int GUI::getCurrentTabIndex() const{
|
unsigned int GUI::getCurrentTabIndex() const{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue