(#287) Renamed method with name conflicting with virtual method

This commit is contained in:
Pål Hagen 2015-07-01 10:05:12 +02:00
parent 349b2b2cd5
commit 02e5ba79cb

View File

@ -53,7 +53,7 @@ public:
} }
} }
void removeRows(const QModelIndexList& indexes) void removeFileNames(const QModelIndexList& indexes)
{ {
for (int i = indexes.size() - 1; i >= 0; i--) for (int i = indexes.size() - 1; i >= 0; i--)
{ {
@ -247,6 +247,6 @@ void RiuMultiCaseImportDialog::on_m_removeEclipseCaseButton_clicked()
FileListModel* dataModel = static_cast<FileListModel*>(ui->m_eclipseCasesList->model()); FileListModel* dataModel = static_cast<FileListModel*>(ui->m_eclipseCasesList->model());
Q_ASSERT(dataModel); Q_ASSERT(dataModel);
dataModel->removeRows(selection); dataModel->removeFileNames(selection);
} }
} }