warnings: fix unused variable warnings

Change-Id: I6997b526b0f8452e6d859aeb85fa94c44b69d8cb
pqLinksEditor: avoid aliasing warnings

Use a union instead of casting tricks which makes the compiler worry
about what you're going to do with the pointer. Hiding it behind a union
makes the compiler just assume we know what we're doing here.

Change-Id: I984710438f47ef605f2020376dc0cb2b04533150
pqStandardLegacyCustomPanels: add missing Q_INTERFACES

Change-Id: Ic8ddfae0ed11b036281f4b96aa4c50531a78b5bd
pqPythonShell: fix shadowning warning

There is a 'data' member is in the moc-generated class it seems.

Change-Id: Ie03f50ae38529cb8d1f35563acc9f2add48aa6de
Merge topic 'dashboard-warnings' into next

65089d99 pqPythonShell: fix shadowning warning
5bb7e6a8 pqStandardLegacyCustomPanels: add missing Q_INTERFACES
76b62f95 pqLinksEditor: avoid aliasing warnings
8ab255b3 warnings: fix unused variable warnings