diff options
author | Jarek Kobus <[email protected]> | 2024-01-04 14:40:04 +0100 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2024-01-04 14:15:32 +0000 |
commit | f53db7723040457ab3296197f58aa8bde03dd82c (patch) | |
tree | a5abeebb7d034ee273bb960b71fe1928d76433f8 /src/libs/utils/guiutils.cpp | |
parent | a4f9267df1dba83c5a4ec3f0a9ae8d3d0533db0c (diff) |
GuiUtils: Rename attachWheelBlocker into setWheelScrollingWithoutFocusBlocked
This name corresponds better to e.g. SH_ComboBox_AllowWheelScrolling,
SH_TabBar_AllowWheelScrolling or wheelScrollLines.
Change-Id: I244774584e293ca45cc4be4d4526f925c2da9598
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/libs/utils/guiutils.cpp')
-rw-r--r-- | src/libs/utils/guiutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/guiutils.cpp b/src/libs/utils/guiutils.cpp index 7789f83993b..6d3a790c5d1 100644 --- a/src/libs/utils/guiutils.cpp +++ b/src/libs/utils/guiutils.cpp @@ -28,7 +28,7 @@ public: } // namespace Internal -void QTCREATOR_UTILS_EXPORT attachWheelBlocker(QWidget *widget) +void QTCREATOR_UTILS_EXPORT setWheelScrollingWithoutFocusBlocked(QWidget *widget) { static Internal::WheelEventFilter instance; widget->installEventFilter(&instance); |