Browse Source

removed a function that is not used anymore

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
c0e4b0bbff
  1. 8
      src/GUI.cpp
  2. 1
      src/GUI.h

8
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; i<nbColumns; ++i){
downloadList->selectionModel()->select(DLListModel->index(row, i), QItemSelectionModel::Select);
}
}
void GUI::on_actionClearLog_triggered(){ void GUI::on_actionClearLog_triggered(){
infoBar->clear(); infoBar->clear();
} }

1
src/GUI.h

@ -110,7 +110,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
void sortDownloadListFloat(int index, Qt::SortOrder sortOrder); void sortDownloadListFloat(int index, Qt::SortOrder sortOrder);
void sortDownloadListString(int index, Qt::SortOrder sortOrder); void sortDownloadListString(int index, Qt::SortOrder sortOrder);
void displayDLListMenu(const QPoint& pos); void displayDLListMenu(const QPoint& pos);
void selectGivenRow(const QModelIndex& index);
void togglePausedState(const QModelIndex& index); void togglePausedState(const QModelIndex& index);
void displayInfoBarMenu(const QPoint& pos); void displayInfoBarMenu(const QPoint& pos);
void on_actionPreview_file_triggered(); void on_actionPreview_file_triggered();

Loading…
Cancel
Save