2021-01-15 Fred Gleason <fredg@paravelsystems.com>

* Modified the 'RDLibraryModel::addCart()' to return 'QModelIndex'
	rather than 'int'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-01-15 07:35:15 -05:00
parent aa41ce2f84
commit 42e1358386
4 changed files with 8 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ class RDLibraryModel : public QAbstractItemModel
RDCart::Type cartType(const QModelIndex &index) const;
QString cutName(const QModelIndex &index) const;
QString cartOwnedBy(const QModelIndex &index);
int addCart(unsigned cartnum);
QModelIndex addCart(unsigned cartnum);
void removeCart(unsigned cartnum);
void refreshRow(const QModelIndex &index);
void refreshCart(unsigned cartnum);