MainWindow: Delay restoreWindowState even more

When opening a core dump using command-line, the window still appears as
"fake maximized"

Change-Id: Ifdd9b58df1506de73357b9c3722bf6f3eaa3a1de
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
QmakeProject: Remove unneeded namespace qualification

Change-Id: I82b00db276149a146a53dd3a22da3d9a5aad498f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
QmakePM: De-duplicate QmakePriFileNode::deleteFiles()

Change-Id: I0fc1442314e61d2f8a8b712a8e28b8c03ef4fddf
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Fix FormWindowEditor id.

Broke with recent refactoring and lead to drag&drop no longer working in
designer.

Change-Id: I33987b4fa8838ce1e009a665e9be80dbe30b45d6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Editors: Sanity check that an id was set in the editor implementation.

Since the id is now a member, it must be explicitly set by
implementations.

Change-Id: Ibaa6ac604033ae0370e815b1e3d369dac99b36bd
Reviewed-by: hjk <hjk121@nokiamail.com>
QmlProfiler: Don't use the canvas context if it isn't ready

The documentation indicates that onPaint can actually be called
while the context isn't ready.

Change-Id: I32d861e016e5e990f3d940a35ec28956902041ba
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QmlProfiler: Properly initialize private members of timeline models

Task-number: QTCREATORBUG-11565
Change-Id: I227fba871beeed79923e794c03a08ff154c9e4f8
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
QmlProfiler: relay context menu from trace view to parent widget

As QQuickView is a window with its own event handling, disconnected
from the main window, we need to relay relevant events manually.

Task-number: QTCREATORBUG-11535

Change-Id: If316225ecc01ddc4255c209d7df70a9cee812596
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Shortcuts: Remember them even for plugins that are not loaded

This also fixes the issue that shortcuts of designer integration gets
lost if it doesn't get initialized.

Task-number: QTCREATORBUG-4264
Task-number: QTCREATORBUG-11399
Change-Id: Ieb4fe5fd345e69aa62403e4578fa6028400aff6f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Editors: Minor branch consolidation

Change-Id: Ida5ed6c5a7fb623c64573eb538771c4376c3c578
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Debugger: Make simple manual test work with android

Change-Id: I33283154214a07a0232b8d52c3da62861956a9a1
Reviewed-by: hjk <hjk121@nokiamail.com>
CppEditor: Fix folding

The brace depth wasn't explicitly saved as block state and thus got
reset to 0.

Task-number: QTCREATORBUG-11566
Change-Id: I6c4f3c3392c01d65d7037c4723701ca8935ff70e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
CppEditor: Clarify different states in CppHighlighter::highlightBlock

...by giving the variables better names.

Change-Id: I0f98dfc958c3dd478a070526a4ca454b22cf495a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>