From 2d1f276c2c0e28884114ffb969fe620de50e9f3c Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 2 Sep 2020 13:12:37 +0200 Subject: [PATCH] Fix warning Don't include the moc of a file without Q_OBJECT --- autotests/onscreennotificationtest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/autotests/onscreennotificationtest.cpp b/autotests/onscreennotificationtest.cpp index ee369334a7..6ea01d135e 100644 --- a/autotests/onscreennotificationtest.cpp +++ b/autotests/onscreennotificationtest.cpp @@ -123,5 +123,3 @@ void OnScreenNotificationTest::message() QCOMPARE(notification.message(), QStringLiteral("bar")); QCOMPARE(messageChangedSpy.count(), 2); } - -#include "onscreennotificationtest.moc"