fixed screen id comparision

1.3.x
Rafael 7 years ago
parent cb009c0f6e
commit 20ada4fcf2

@ -98,7 +98,7 @@ void PictureWidget::setImage(QImage image_)
void PictureWidget::updateWindowSize(int screenID)
{
if (screenID = QApplication::desktop()->screenNumber(this))
if (screenID == QApplication::desktop()->screenNumber(this))
{
QRect desktopRect = QApplication::desktop()->screenGeometry(this);
this->move(desktopRect.x(), desktopRect.y());

Loading…
Cancel
Save