You need to initialize every static variable (gSettings::i in your case). Add this to your implementation code outside any method body (i.e. right beneath include statements):
Qt Code:
int gSettings::i = 0; // you can skip the "= 0" part if you like random valuesTo copy to clipboard, switch view to plain text mode
Bookmarks