Fix build with -no-feature-abstractbutton

Task-number: QTBUG-117698
Change-Id: I0ff494d680626301267e9d415f7fd161366a3932
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Tasuku Suzuki 2023-10-20 16:22:00 +09:00 committed by Axel Spoerl
parent 071291a0d4
commit 85d21cec30
1 changed files with 2 additions and 0 deletions

View File

@ -610,7 +610,9 @@ void QTableViewPrivate::clearConnections()
for (const QMetaObject::Connection &connection : dynHorHeaderConnections)
QObject::disconnect(connection);
QObject::disconnect(selectionmodelConnection);
#if QT_CONFIG(abstractbutton)
QObject::disconnect(cornerWidgetConnection);
#endif
}
/*!