Hi, I have this code:
Qt Code:
void MyClass::MyMethod() { message->setWindowTitle("Error"); message->setText("foo"); message->setInformativeText("bar"); ret = message->exec(); { suggestAction->setEnabled(true); solutions += "baz"; this->suggestSolutions(); return; } message->setWindowTitle("Title"); message->setText("Message"); message->exec(); this->MyMethod(); treeClicked(navigator->currentItem()); }To copy to clipboard, switch view to plain text mode
Problem is, that when I debug this and I press No, application jumps from line 15 on line 26 as expected, but then it jumps onto line 25, then again on 26, on 25 once more, then again on 26 and then out of MyMethod. Any suggestion why?
Bookmarks