From 0dd1c26cf3cd68cd83f5d9da6cf34d4aa3f30db2 Mon Sep 17 00:00:00 2001 From: flow Date: Wed, 2 Mar 2022 21:17:10 -0300 Subject: refactor: extract common code in mod pages and model This creates a hierarchy in which ModPage and ModModel are the parents of every mod provider, providing the basic functionality common to all of them. It also imposes a unique .ui file (they were already equal before, just duplicated basically) on all mod providers. --- .../ui/pages/modplatform/modrinth/ModrinthPage.ui | 97 ---------------------- 1 file changed, 97 deletions(-) delete mode 100644 launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui (limited to 'launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui') diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui deleted file mode 100644 index d0a8b8f7..00000000 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui +++ /dev/null @@ -1,97 +0,0 @@ - - - ModrinthPage - - - - 0 - 0 - 837 - 685 - - - - - - - - - true - - - true - - - - - - - Qt::ScrollBarAlwaysOff - - - true - - - - 48 - 48 - - - - - - - - - - Search - - - - - - - Search and filter ... - - - - - - - - - - - - Version selected: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - - Select mod for download - - - - - - - - - searchEdit - searchButton - packView - packDescription - sortByBox - versionSelectionBox - - - - -- cgit