From c0e4b0bbff9a424727ac5b69be85b0450d18fa18 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 30 Jul 2007 10:30:43 +0000 Subject: [PATCH] removed a function that is not used anymore --- src/GUI.cpp | 8 -------- src/GUI.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 9f583acb7..38c53ebbb 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -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; iselectionModel()->select(DLListModel->index(row, i), QItemSelectionModel::Select); - } -} - void GUI::on_actionClearLog_triggered(){ infoBar->clear(); } diff --git a/src/GUI.h b/src/GUI.h index 4a249c039..6c7008122 100644 --- a/src/GUI.h +++ b/src/GUI.h @@ -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();