make compile against 4.7 mainline

This commit is contained in:
Bill King
2010-11-09 14:53:21 +10:00
parent f1dabb16a3
commit 110c58d09e

View File

@@ -362,8 +362,10 @@ int main(int argc, char ** argv)
if (stayOnTop)
wflags |= Qt::WindowStaysOnTopHint;
#if defined(QMLJSDEBUGGER)
// enable remote debugging
QDeclarativeDebugHelper::enableDebugging();
#endif
QDeclarativeViewer *viewer = new QDeclarativeViewer(0, wflags);
viewer->setAttribute(Qt::WA_DeleteOnClose, true);