mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Fixed compilation warning
This commit is contained in:
parent
f1aa1f993d
commit
3af23ae8a9
2 changed files with 2 additions and 2 deletions
|
@ -442,7 +442,7 @@ void GUI::previewFile(QString filePath) {
|
|||
QDesktopServices::openUrl(QString("file://")+filePath);
|
||||
}
|
||||
|
||||
unsigned int GUI::getCurrentTabIndex() const{
|
||||
int GUI::getCurrentTabIndex() const{
|
||||
if(isMinimized() || isHidden())
|
||||
return -1;
|
||||
return tabs->currentIndex();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue