diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-12-15 01:25:52 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-12-15 01:57:06 +0100 |
commit | 9326b65dd35d39c8180edc8c5200a84e81cd88c0 (patch) | |
tree | 7f8da8ef7ae9b3de498fa24c24129a7053c13f5c /src/widget/wlibrarysidebar.cpp | |
parent | 0471998e13aada9a76e92b13ab3885c2d1c2fb84 (diff) |
Add pointer qualification to auto types
Diffstat (limited to 'src/widget/wlibrarysidebar.cpp')
-rw-r--r-- | src/widget/wlibrarysidebar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/wlibrarysidebar.cpp b/src/widget/wlibrarysidebar.cpp index 81547d00d1..57915ce18b 100644 --- a/src/widget/wlibrarysidebar.cpp +++ b/src/widget/wlibrarysidebar.cpp @@ -212,7 +212,7 @@ void WLibrarySidebar::keyPressEvent(QKeyEvent* event) { } void WLibrarySidebar::selectIndex(const QModelIndex& index) { - auto pModel = new QItemSelectionModel(model()); + auto* pModel = new QItemSelectionModel(model()); pModel->select(index, QItemSelectionModel::Select); setSelectionModel(pModel); |