View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#27
Originally Posted by hood View Post
Not from scratch but htere is Home Screen Settings wich do it from Pictures folder. Yes I can copy-paste file from .wallpaper to Pictures by myself but whats problem if you can add this to your sexy app?
Or you can compile it by downloading the sources and changing the wallpaper.h file to reflect the location you want instead:

Code:
Dir dir(QDir::home().filePath("MyDocs/.wallpapers"));
            dir.mkpath(".");
            QString filename = dir.filePath("mustr_" + base + ".png");
            image.save(filename);
            m_backgroundItem.set(filename);
            emit done();
 

The Following User Says Thank You to thedead1440 For This Useful Post: