mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Improved download list popup menu code
- Added some asserts - bit of code improvement/clean up
This commit is contained in:
parent
d2983fa5aa
commit
6dd78d33ab
3 changed files with 29 additions and 15 deletions
|
@ -130,7 +130,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
void displayUpTab();
|
||||
void displaySearchTab();
|
||||
void displayRSSTab();
|
||||
void handleDownloadFromUrlFailure(QString, QString);
|
||||
void handleDownloadFromUrlFailure(QString, QString) const;
|
||||
// Torrent actions
|
||||
void showProperties(const QModelIndex &index);
|
||||
void on_actionTorrent_Properties_triggered();
|
||||
|
@ -188,7 +188,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
// Methods
|
||||
int getRowFromHash(QString hash) const;
|
||||
unsigned int getCurrentTabIndex() const;
|
||||
QPoint screenCenter();
|
||||
QPoint screenCenter() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue