~wallch/wallpaper-changer/trunk

« back to all changes in this revision

Viewing changes to src/gui/mainwindow.cpp

  • Committer: Leon
  • Date: 2015-08-15 14:08:12 UTC
  • Revision ID: leon.vitanos@gmail.com-20150815140812-ku5sphc4h363wmcm
Fixed some windowflags

Show diffs side-by-side

added added

removed removed

Lines of Context:
4587
4587
    connect(webPreview_, SIGNAL(destroyed()), this, SLOT(websitePreviewDestroyed()));
4588
4588
    connect(webPreview_, SIGNAL(previewImageReady(QImage*)), this, SLOT(setWebsitePreviewImage(QImage*)));
4589
4589
    connect(webPreview_, SIGNAL(sendExtraCoordinates(QRect)), this, SLOT(readCoordinates(const QRect&)));
 
4590
    webPreview_->setWindowFlags(Qt::Dialog | Qt::WindowTitleHint);
4590
4591
    webPreview_->show();
4591
4592
}
4592
4593
 
4702
4703
    webPreview_->setAttribute(Qt::WA_DeleteOnClose);
4703
4704
    connect(webPreview_, SIGNAL(destroyed()), this, SLOT(websitePreviewDestroyed()));
4704
4705
    connect(webPreview_, SIGNAL(sendExtraCoordinates(QRect)), this, SLOT(readCoordinates(const QRect&)));
 
4706
    webPreview_->setWindowFlags(Qt::Dialog | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint);
4705
4707
    webPreview_->show();
4706
4708
}
4707
4709
 
5485
5487
#ifdef Q_OS_UNIX
5486
5488
    connect(preferences_, SIGNAL(unityProgressbarChanged(bool)), this, SLOT(unityProgressbarSetEnabled(bool)));
5487
5489
#endif //#ifdef Q_OS_UNIX
 
5490
    preferences_->setWindowFlags(Qt::Dialog | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint);
5488
5491
    preferences_->show();
5489
5492
    preferences_->activateWindow();
5490
5493
}
5557
5560
 
5558
5561
        properties_->setModal(true);
5559
5562
        properties_->setAttribute(Qt::WA_DeleteOnClose);
5560
 
        properties_->setWindowFlags(Qt::Window);
5561
5563
        connect(properties_, SIGNAL(destroyed()), this, SLOT(propertiesDestroyed()));
5562
5564
        connect(properties_, SIGNAL(requestNext(int)), this, SLOT(sendPropertiesNext(int)));
5563
5565
        connect(properties_, SIGNAL(requestPrevious(int)), this, SLOT(sendPropertiesPrevious(int)));