mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-30 04:09:57 +00:00
refactor: fix some minor clang-tidy warnings
This commit is contained in:
@ -33,10 +33,7 @@ void TestAWScriptFormatter::initTestCase()
|
||||
}
|
||||
|
||||
|
||||
void TestAWScriptFormatter::cleanupTestCase()
|
||||
{
|
||||
delete formatter;
|
||||
}
|
||||
void TestAWScriptFormatter::cleanupTestCase() {}
|
||||
|
||||
|
||||
void TestAWScriptFormatter::test_values()
|
||||
@ -100,7 +97,7 @@ void TestAWScriptFormatter::test_copy()
|
||||
QCOMPARE(newFormatter->program(), formatter->program());
|
||||
QCOMPARE(newFormatter->number(), 1);
|
||||
|
||||
delete newFormatter;
|
||||
newFormatter->deleteLater();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user