[libcalamares] Avoid warnings from MOC-generated code

- Moc generates Q_UNUSED(_a); which in turn (with clang) issues
   a superfluous-semicolon warning. Existing code with automoc
   uses utils/moc-warnings.h to turn off warnings that are issued
   on moc code. Include it explicitly here because automoc isn't
   applied.
This commit is contained in:
Adriaan de Groot 2019-09-23 11:50:06 +02:00
parent 3c387a11c9
commit bb9cca643f
2 changed files with 2 additions and 0 deletions

View file

@ -130,4 +130,5 @@ ModuleSystemTests::testBadFromStringCases()
QTEST_GUILESS_MAIN( ModuleSystemTests )
#include "utils/moc-warnings.h"
#include "Tests.moc"