View Single Post
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#6
The updateList() function, that does the above with the QStringLists, is in the constructor of wpManager (the new window). Hence the loading time,

I've just gotten an idea, which didn't work before, but I thought of a new way to do it..

I'll remove updateList() from the contructor, make a connect() function that checks if the window is visible, and updates the list when it is.
I'll make sure the slot prevents an infinite loop, since it stays visible for a while.

So it will load the list after the window opens. This will greatly improve the loading time (before it shows), making double button pressing less likely.
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations

Last edited by Berserk; 2010-09-27 at 17:00.