diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-18 21:54:23 +0300 |
---|---|---|
committer | Michael Schuster <michael@schuster.ms> | 2020-05-20 04:54:41 +0300 |
commit | 712869db9a68025362798a4ff9ccc9f3e424a417 (patch) | |
tree | d29fb71b6a914e49bf770c5c623ef36f9018b145 /src/gui/tooltipupdater.cpp | |
parent | 3d2de4fc408320d362d05fc9258449f67faccc4c (diff) |
Use auto to avoiding repeating type names
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui/tooltipupdater.cpp')
-rw-r--r-- | src/gui/tooltipupdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tooltipupdater.cpp b/src/gui/tooltipupdater.cpp index 205dfc64f..5b4233a01 100644 --- a/src/gui/tooltipupdater.cpp +++ b/src/gui/tooltipupdater.cpp @@ -32,7 +32,7 @@ ToolTipUpdater::ToolTipUpdater(QTreeView *treeView) bool ToolTipUpdater::eventFilter(QObject * /*obj*/, QEvent *ev) { if (ev->type() == QEvent::ToolTip) { - QHelpEvent *helpEvent = static_cast<QHelpEvent *>(ev); + auto *helpEvent = static_cast<QHelpEvent *>(ev); _toolTipPos = helpEvent->globalPos(); } return false; |