Code clean up

This commit is contained in:
Chocobo1
2020-08-27 00:06:54 +08:00
parent 4539c679d9
commit 307ca61c86
3 changed files with 14 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ public slots:
void readSettings();
void saveSettings();
void reloadPreferences();
void openDoubleClickedFile(const QModelIndex &);
void openDoubleClickedFile(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);
void openFolder(const QModelIndex &index, bool containingFolder);
void openFile(const QModelIndex &index) const;
void openFolder(const QModelIndex &index, bool containingFolder) const;
Ui::PropertiesWidget *m_ui;
BitTorrent::TorrentHandle *m_torrent;