summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaide <34639600+Kelebek1@users.noreply.github.com>2021-06-04 01:07:38 +0200
committerGitHub <noreply@github.com>2021-06-04 01:07:38 +0200
commitcb5fe12ee1f1537caea2fced30d14a812082440b (patch)
tree97addec0c55a0cc18d1e62511839ec6df0c001dc
parentMerge pull request #6402 from Kelebek1/UI (diff)
downloadyuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.tar
yuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.tar.gz
yuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.tar.bz2
yuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.tar.lz
yuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.tar.xz
yuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.tar.zst
yuzu-cb5fe12ee1f1537caea2fced30d14a812082440b.zip
-rw-r--r--src/yuzu/game_list.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index c2e84ef79..9308cfef8 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -341,11 +341,7 @@ GameList::GameList(FileSys::VirtualFilesystem vfs, FileSys::ManualContentProvide
connect(tree_view, &QTreeView::customContextMenuRequested, this, &GameList::PopupContextMenu);
connect(tree_view, &QTreeView::expanded, this, &GameList::OnItemExpanded);
connect(tree_view, &QTreeView::collapsed, this, &GameList::OnItemExpanded);
- connect(tree_view->header(), &QHeaderView::sectionResized, this,
- &GameList::SaveInterfaceLayout);
- connect(tree_view->header(), &QHeaderView::sectionMoved, this, &GameList::SaveInterfaceLayout);
- connect(tree_view->header(), &QHeaderView::sortIndicatorChanged, this,
- &GameList::SaveInterfaceLayout);
+
// We must register all custom types with the Qt Automoc system so that we are able to use
// it with signals/slots. In this case, QList falls under the umbrells of custom types.
qRegisterMetaType<QList<QStandardItem*>>("QList<QStandardItem*>");