I want to make a function to run each 60 seconds.
I have this:
setInterval(MainWindow::newIdentity,60*1000);
The function is MainWindow::newIdentity and the time is 60 seconds.
He says it doesnt know the function setInterval. What should I do or include to the file for he to know it?
Thanks!