diff options
| author | Elvis Angelaccio <[email protected]> | 2019-05-05 17:20:44 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-05-05 17:53:29 +0200 |
| commit | 9d11e5d4b40feac2272c2a58c714c4902eb1b6e5 (patch) | |
| tree | f8f7d4a5080aa26014199ee4cc99ba431c32686a /src/views/tooltips/tooltipmanager.cpp | |
| parent | 957a6f4f31d6a50682cb3ac16447dc72498afea9 (diff) | |
Get rid of ugly static_cast usages in connect() calls
Diffstat (limited to 'src/views/tooltips/tooltipmanager.cpp')
| -rw-r--r-- | src/views/tooltips/tooltipmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/tooltips/tooltipmanager.cpp b/src/views/tooltips/tooltipmanager.cpp index 2990f4249..aae97458c 100644 --- a/src/views/tooltips/tooltipmanager.cpp +++ b/src/views/tooltips/tooltipmanager.cpp @@ -64,7 +64,7 @@ ToolTipManager::ToolTipManager(QWidget* parent) : m_showToolTipTimer = new QTimer(this); m_showToolTipTimer->setSingleShot(true); m_showToolTipTimer->setInterval(500); - connect(m_showToolTipTimer, &QTimer::timeout, this, static_cast<void(ToolTipManager::*)()>(&ToolTipManager::showToolTip)); + connect(m_showToolTipTimer, &QTimer::timeout, this, QOverload<>::of(&ToolTipManager::showToolTip)); m_contentRetrievalTimer = new QTimer(this); m_contentRetrievalTimer->setSingleShot(true); |
