summaryrefslogtreecommitdiffstats
path: root/src/widget/wlibrarysidebar.cpp
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-15 01:25:52 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-15 01:57:06 +0100
commit9326b65dd35d39c8180edc8c5200a84e81cd88c0 (patch)
tree7f8da8ef7ae9b3de498fa24c24129a7053c13f5c /src/widget/wlibrarysidebar.cpp
parent0471998e13aada9a76e92b13ab3885c2d1c2fb84 (diff)
Add pointer qualification to auto types
Diffstat (limited to 'src/widget/wlibrarysidebar.cpp')
-rw-r--r--src/widget/wlibrarysidebar.cpp2
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);