mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix inserting installed ScreenPlay
This commit is contained in:
parent
23bd8e0240
commit
456a729afa
@ -60,9 +60,7 @@ bool InstalledListModel::getProjectByAbsoluteStoragePath(QUrl* path, ProjectFile
|
||||
|
||||
void InstalledListModel::append(const QJsonObject obj, const QString folderName)
|
||||
{
|
||||
int row = 0;
|
||||
|
||||
beginInsertRows(QModelIndex(), m_screenPlayFiles.count(), m_screenPlayFiles.count());
|
||||
beginInsertRows(QModelIndex(), m_screenPlayFiles.size(), m_screenPlayFiles.size());
|
||||
|
||||
ProjectFile tmpFile(obj, folderName, m_absoluteStoragePath);
|
||||
m_screenPlayFiles.append(tmpFile);
|
||||
|
Loading…
Reference in New Issue
Block a user