Commit 110c58d0 authored by Bill King's avatar Bill King
Browse files

make compile against 4.7 mainline

parent f1dabb16
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment