RS_Commands will not compile with Qt5 without an additional include for QObject
layerwidget return if layerlist are NULL
Merge pull request #390 from TNick/Qt_MissingQObject

RS_Commands needs QObject