qtquick: Don't assume in the C++ that the tab bar has a list view
Getting the tab index by QPoint is now done in QML, so it can be overridden by the user.
This commit is contained in:
@@ -72,9 +72,7 @@ protected:
|
||||
void init() override;
|
||||
|
||||
private:
|
||||
QHash<int, QQuickItem *> qmlTabs() const;
|
||||
QQuickItem *tabAt(int index) const;
|
||||
QQuickItem *listView() const;
|
||||
QPointer<QQuickItem> m_tabBarQmlItem;
|
||||
KDBindings::ScopedConnection m_tabBarAutoHideChanged;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user