Hi
I have simple QMainWindow with a QwebView on it. I want to restart after reaching a url. I use this code as my main function
int main(int argc, char *argv[])
{
int code = 0;
do{
M w;
w.show();
code = a.exec();
}while (code == 1000);
return a.exec();
}
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
int code = 0;
do{
M w;
w.show();
code = a.exec();
}while (code == 1000);
return a.exec();
}
To copy to clipboard, switch view to plain text mode
Somewhere in the code I call QApplication::exit(1000);
It is ok! but QWebView loadComplete event does not fire.
What is the problem??
Bookmarks