What do you mean by true and bool? Its true because I returned 1 (a true value) from the function. Are you saying I should do something like this:
and thenCode:bool int nextDialog() {
//code here
//return 1 //line not needed any more?
}
?Code:if (nextDialog() == true)
sendHideRequest(dialog);
Well, the event was supposed to be returning the 1 value (indicating the if statement is true), but for some reason it appears that the if statement calls nextDialog itself. Can I not use a function in a if statement's condition?Quote:
You need to wait for some event that indicates that the "next" button has been pressed before proceeding. How that's done in Qt, I have no idea, though.