~jakuje/wallpaper-changer/require-cmath

« back to all changes in this revision

Viewing changes to src/gui/mainwindow.cpp

  • Committer: Leon
  • Date: 2015-08-25 14:34:01 UTC
  • Revision ID: leon.vitanos@gmail.com-20150825143401-1sosse0ne8ul1nad
1. Fixed live earth not showing notifications, and time in wallpaper clock notification is now shown properly
2. Tray icon now has a tooltip saying
Wallch
Wallpaper changer
3. Le point dialog is now resizable
4. (Windows) Removed wallch.rc file as it is not needed from qt5 and after
Added properties for the exe file, eg "Mellori Studio" as the company of Wallch
Screenshots: http://i.imgur.com/II0MYMQ.png, http://i.imgur.com/nHCOAgZ.png

Show diffs side-by-side

added added

removed removed

Lines of Context:
667
667
}
668
668
 
669
669
void MainWindow::onlineImageRequestReady(QString image){
670
 
    WallpaperManager::setBackground(image, true, gv.potdRunning, (gv.potdRunning ? 3 : 2));
 
670
    WallpaperManager::setBackground(image, true, gv.potdRunning||gv.liveEarthRunning, (gv.potdRunning ? 3 : 2));
671
671
    if(gv.setAverageColor){
672
672
        setButtonColor();
673
673
    }
3749
3749
    lepoint_->setModal(true);
3750
3750
    lepoint_->setAttribute(Qt::WA_DeleteOnClose);
3751
3751
    connect(lepoint_, SIGNAL(destroyed()), this, SLOT(lePointDestroyed()));
3752
 
    lepoint_->setWindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint | Qt::WindowCloseButtonHint);
 
3752
    lepoint_->setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint | Qt::WindowMaximizeButtonHint);
3753
3753
    lepoint_->show();
3754
3754
}
3755
3755