mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[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:
parent
3c387a11c9
commit
bb9cca643f
2 changed files with 2 additions and 0 deletions
|
@ -130,4 +130,5 @@ ModuleSystemTests::testBadFromStringCases()
|
|||
|
||||
QTEST_GUILESS_MAIN( ModuleSystemTests )
|
||||
|
||||
#include "utils/moc-warnings.h"
|
||||
#include "Tests.moc"
|
||||
|
|
|
@ -285,4 +285,5 @@ Manager::asynchronouseGet( const QUrl& url, const CalamaresUtils::Network::Reque
|
|||
} // namespace Network
|
||||
} // namespace CalamaresUtils
|
||||
|
||||
#include "utils/moc-warnings.h"
|
||||
#include "Manager.moc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue