added import files into Profile menu
This commit is contained in:
parent
6ff8de8972
commit
f35647f76c
5 changed files with 25 additions and 4 deletions
|
@ -325,8 +325,8 @@ void ProfileInterface::pictureDeleted_f(QWidget *picWidget_)
|
|||
SnapmaticWidget *picWidget = (SnapmaticWidget*)picWidget_;
|
||||
SnapmaticPicture *picture = picWidget->getPicture();
|
||||
if (picWidget->isSelected()) { picWidget->setSelected(false); }
|
||||
picWidget->close();
|
||||
widgets.remove(picWidget);
|
||||
picWidget->close();
|
||||
picWidget->deleteLater();
|
||||
pictures.removeAll(picture);
|
||||
delete picture;
|
||||
|
@ -774,3 +774,8 @@ void ProfileInterface::deleteSelected()
|
|||
QMessageBox::information(this, tr("Remove selected"), tr("No Snapmatic pictures or Savegames files are selected"));
|
||||
}
|
||||
}
|
||||
|
||||
void ProfileInterface::importFiles()
|
||||
{
|
||||
on_cmdImport_clicked();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue