summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/driver.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-31 16:03:59 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-08-03 20:35:41 +0000
commitabc024eef78cfc84a577ce9f1638c5b6dc4d101b (patch)
treecfe20a5daf67c80824e8b2594996c800f4d2b9ef /src/tools/uic/driver.cpp
parent22eb4bacaedab1612977fc23c5720a86179d1b04 (diff)
uic: Fix clang-tidy warnings
- Simplify/streamline if statmenents - Change else if to if after return/break/continue - Use isEmpty() for containers instead of checking size() - Replace index-based loops by range-based for Change-Id: I008228a99082a4d0e27be9f6c6af392602140b2f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/tools/uic/driver.cpp')
-rw-r--r--src/tools/uic/driver.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/uic/driver.cpp b/src/tools/uic/driver.cpp
index 72be667468..6b3a6f8f69 100644
--- a/src/tools/uic/driver.cpp
+++ b/src/tools/uic/driver.cpp
@@ -41,9 +41,7 @@ Driver::Driver()
m_output = &m_stdout;
}
-Driver::~Driver()
-{
-}
+Driver::~Driver() = default;
QString Driver::findOrInsertWidget(DomWidget *ui_widget)
{