application crash fixed (at using export after fullscreen mode)
This commit is contained in:
parent
761a4a19aa
commit
133bc9861e
1 changed files with 3 additions and 2 deletions
|
@ -287,7 +287,7 @@ void PictureDialog::playerNameUpdated()
|
||||||
|
|
||||||
void PictureDialog::exportSnapmaticPicture()
|
void PictureDialog::exportSnapmaticPicture()
|
||||||
{
|
{
|
||||||
if (rqfullscreen && fullscreenWidget != 0)
|
if (rqfullscreen && fullscreenWidget)
|
||||||
{
|
{
|
||||||
PictureExport::exportPicture(fullscreenWidget, smpic);
|
PictureExport::exportPicture(fullscreenWidget, smpic);
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ void PictureDialog::exportSnapmaticPicture()
|
||||||
|
|
||||||
void PictureDialog::copySnapmaticPicture()
|
void PictureDialog::copySnapmaticPicture()
|
||||||
{
|
{
|
||||||
if (rqfullscreen && fullscreenWidget != 0)
|
if (rqfullscreen && fullscreenWidget)
|
||||||
{
|
{
|
||||||
PictureCopy::copyPicture(fullscreenWidget, picPath);
|
PictureCopy::copyPicture(fullscreenWidget, picPath);
|
||||||
}
|
}
|
||||||
|
@ -331,6 +331,7 @@ void PictureDialog::on_labPicture_mouseDoubleClicked(Qt::MouseButton button)
|
||||||
pictureWidget->setFocus();
|
pictureWidget->setFocus();
|
||||||
pictureWidget->exec();
|
pictureWidget->exec();
|
||||||
|
|
||||||
|
fullscreenWidget = 0;
|
||||||
delete pictureWidget;
|
delete pictureWidget;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue