add missing imageformats and fix slot disconnect error
This commit is contained in:
parent
4af7e2e819
commit
fbc9e66de2
4 changed files with 34 additions and 9 deletions
|
@ -604,7 +604,11 @@ void PictureDialog::renderOverlayPicture()
|
|||
|
||||
void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, bool readOk, bool _indexed, int _index)
|
||||
{
|
||||
if (smpic != nullptr) smpic->disconnect();
|
||||
if (smpic != nullptr)
|
||||
{
|
||||
QObject::disconnect(smpic, SIGNAL(updated()), this, SLOT(updated()));
|
||||
QObject::disconnect(smpic, SIGNAL(customSignal(QString)), this, SLOT(customSignal(QString)));
|
||||
}
|
||||
snapmaticPicture = QImage();
|
||||
indexed = _indexed;
|
||||
index = _index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue