mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
Fix "Open containing folder" opened the wrong path for folder item
Previously that action is the same as "Open" action which is wrong behavior, it should be opening the parent folder instead. The wrong behavior is observed on nautilus 3.36.3 and nemo 4.6.5.
This commit is contained in:
@@ -82,7 +82,7 @@ public slots:
|
||||
void readSettings();
|
||||
void saveSettings();
|
||||
void reloadPreferences();
|
||||
void openDoubleClickedFile(const QModelIndex &index) const;
|
||||
void openItem(const QModelIndex &index) const;
|
||||
void loadTrackers(BitTorrent::TorrentHandle *const torrent);
|
||||
|
||||
protected slots:
|
||||
@@ -107,8 +107,8 @@ private slots:
|
||||
private:
|
||||
QPushButton *getButtonFromIndex(int index);
|
||||
void applyPriorities();
|
||||
void openFile(const QModelIndex &index) const;
|
||||
void openFolder(const QModelIndex &index, bool containingFolder) const;
|
||||
void openParentFolder(const QModelIndex &index) const;
|
||||
QString getFullPath(const QModelIndex &index) const;
|
||||
|
||||
Ui::PropertiesWidget *m_ui;
|
||||
BitTorrent::TorrentHandle *m_torrent;
|
||||
|
||||
Reference in New Issue
Block a user