Fix memory leak when deleteLater is triggered via the main menu bar.
Fix memory leak when deleteLater is triggered via the main menu bar.

The deleteLater was beeing created with loopLevel of 1, causing
it to be defferd until QApplication::exec() returned.

Add a QScopedLoopLevelCounter to increase the loopLevel while
triggering the action.

RevBy: Brad

igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,igor-sfdc/qt-wk,KDE/qt,RLovelett/qt,KDE/qt,KDE/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,radekp/qt,KDE/qt,RLovelett/qt,igor-sfdc/qt-wk,radekp/qt,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,KDE/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,KDE/qt,radekp/qt,KDE/qt,RLovelett/qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,KDE/qt,radekp/qt,radekp/qt