mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
removed a function that is not used anymore
This commit is contained in:
parent
b0bbbf0305
commit
c0e4b0bbff
@ -521,14 +521,6 @@ void GUI::previewFile(QString filePath){
|
||||
}
|
||||
}
|
||||
|
||||
void GUI::selectGivenRow(const QModelIndex& index){
|
||||
int row = index.row();
|
||||
unsigned int nbColumns = DLListModel->columnCount();
|
||||
for(unsigned int i=0; i<nbColumns; ++i){
|
||||
downloadList->selectionModel()->select(DLListModel->index(row, i), QItemSelectionModel::Select);
|
||||
}
|
||||
}
|
||||
|
||||
void GUI::on_actionClearLog_triggered(){
|
||||
infoBar->clear();
|
||||
}
|
||||
|
@ -110,7 +110,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
||||
void sortDownloadListFloat(int index, Qt::SortOrder sortOrder);
|
||||
void sortDownloadListString(int index, Qt::SortOrder sortOrder);
|
||||
void displayDLListMenu(const QPoint& pos);
|
||||
void selectGivenRow(const QModelIndex& index);
|
||||
void togglePausedState(const QModelIndex& index);
|
||||
void displayInfoBarMenu(const QPoint& pos);
|
||||
void on_actionPreview_file_triggered();
|
||||
|
Loading…
Reference in New Issue
Block a user