mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
- Fix for media file preview
This commit is contained in:
parent
d22d6468c7
commit
90207020f2
6 changed files with 84 additions and 82 deletions
|
@ -424,10 +424,6 @@ void GUI::on_actionExit_triggered() {
|
|||
close();
|
||||
}
|
||||
|
||||
void GUI::previewFile(QString filePath) {
|
||||
QDesktopServices::openUrl(QString("file://")+filePath);
|
||||
}
|
||||
|
||||
int GUI::getCurrentTabIndex() const {
|
||||
if(isMinimized() || !isVisible())
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue