Clang tidy (#2372)

* Added missing braces

* applied some clang modernize

* clarified auto pointer

* clang-tidy
This commit is contained in:
borgmanJeremy
2022-02-06 12:12:09 -06:00
committed by GitHub
parent 3c2a2f98cf
commit 0ac48f5c4b
39 changed files with 174 additions and 137 deletions

View File

@@ -161,7 +161,7 @@ QWidget* TextTool::configurationWidget()
CaptureTool* TextTool::copy(QObject* parent)
{
TextTool* tt = new TextTool(parent);
auto* tt = new TextTool(parent);
if (m_confW) {
connect(
m_confW, &TextConfig::fontFamilyChanged, tt, &TextTool::updateFamily);