Commit 042d338a authored by Matthieu Gallien's avatar Matthieu Gallien 🎵 Committed by Nate Graham
Browse files

remove unused switchOffAllViews signal from ViewManager

parent 0e8d3a94
......@@ -50,14 +50,6 @@ RowLayout {
ViewManager {
id: viewManager
onSwitchOffAllViews: {
listViews.setCurrentIndex(pageModel.indexFromViewType(viewType))
while(browseStackView.depth > 1) {
browseStackView.pop()
}
}
onOpenGridView: {
if (expectedDepth === 1) {
listViews.setCurrentIndex(pageModel.indexFromViewType(viewType))
......
......@@ -134,8 +134,6 @@ Q_SIGNALS:
void switchContextView(ViewManager::ViewsType viewType, int expectedDepth,
const QString &mainTitle, const QUrl &imageUrl);
void switchOffAllViews(ViewManager::ViewsType viewType);
void popOneView();
public Q_SLOTS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment