diff options
| author | Tannin <devnull@localhost> | 2015-02-25 18:00:46 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-02-25 18:00:46 +0100 |
| commit | 6b4cb9ff4c7d5627a7b84c9969e5381063e60b93 (patch) | |
| tree | 55d03a75ddf804a84f231664576d4a9b3cd330d9 /src/modlist.h | |
| parent | cbe84327c685626cf816f956b5857557a5f3090e (diff) | |
bugfix: crash when trying to delete mods (issue #1016)
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modlist.h b/src/modlist.h index ecd30875..73a49745 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -95,7 +95,7 @@ public: * @brief remove the specified mod without asking for confirmation
* @param row the row to remove
*/
- void removeRowForce(int row);
+ void removeRowForce(int row, const QModelIndex &parent);
void notifyChange(int rowStart, int rowEnd = -1);
static QString getColumnName(int column);
@@ -141,7 +141,7 @@ public: // implementation of virtual functions of QAbstractItemModel virtual Qt::DropActions supportedDropActions() const { return Qt::MoveAction | Qt::CopyAction; }
virtual QStringList mimeTypes() const;
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
- virtual void removeRow(int row, const QModelIndex &parent);
+ virtual bool removeRows(int row, int count, const QModelIndex &parent);
virtual QModelIndex index(int row, int column,
const QModelIndex &parent = QModelIndex()) const;
|
