CppEditor: Work around cmake bug

If you mention "Q_OBJECT" in a raw string literal, the cmake build
fails...

Change-Id: I9004184b48dea9a77b9303c3fd871cef747ade4c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2020-07-30 14:02:46 +02:00
parent 394b3212bb
commit 537e2e23ff

View File

@@ -3499,7 +3499,6 @@ void CppEditorPlugin::test_quickfix_InsertDefsFromDecls_data()
namespace N {
class @C
{
Q_OBJECT
public:
friend void ignoredFriend();
void ignoredImplemented() {};
@@ -3530,7 +3529,6 @@ void CppEditorPlugin::test_quickfix_InsertDefsFromDecls_data()
namespace N {
class C
{
Q_OBJECT
public:
friend void ignoredFriend();
void ignoredImplemented() {};
@@ -3582,7 +3580,6 @@ void CppEditorPlugin::test_quickfix_InsertDefsFromDecls_data()
namespace N {
class @C
{
Q_OBJECT
public:
friend void ignoredFriend();
void ignoredImplemented() {};