From af7d8482e5ca70e39a3f30bf2235241217d7880c Mon Sep 17 00:00:00 2001 From: gxalpha Date: Sat, 9 Sep 2023 14:57:08 +0200 Subject: [PATCH] UI: Remove unused ExpandCheckBox ExpandCheckBox was introduced in 88b6c63, but the seemingly replaced by SourceTreeSubItemCheckBox during development. This means that it became completely unused. --- UI/cmake/legacy.cmake | 1 - UI/cmake/ui-elements.cmake | 1 - UI/expand-checkbox.hpp | 7 ------- UI/source-tree.cpp | 1 - 4 files changed, 10 deletions(-) delete mode 100644 UI/expand-checkbox.hpp diff --git a/UI/cmake/legacy.cmake b/UI/cmake/legacy.cmake index 3e5789629..83b9493d4 100644 --- a/UI/cmake/legacy.cmake +++ b/UI/cmake/legacy.cmake @@ -172,7 +172,6 @@ target_sources( item-widget-helpers.hpp context-bar-controls.cpp context-bar-controls.hpp - expand-checkbox.hpp focus-list.cpp focus-list.hpp hotkey-edit.cpp diff --git a/UI/cmake/ui-elements.cmake b/UI/cmake/ui-elements.cmake index a24cd9b59..805dd573f 100644 --- a/UI/cmake/ui-elements.cmake +++ b/UI/cmake/ui-elements.cmake @@ -11,7 +11,6 @@ target_sources( context-bar-controls.hpp double-slider.cpp double-slider.hpp - expand-checkbox.hpp focus-list.cpp focus-list.hpp horizontal-scroll-area.cpp diff --git a/UI/expand-checkbox.hpp b/UI/expand-checkbox.hpp deleted file mode 100644 index b83160d00..000000000 --- a/UI/expand-checkbox.hpp +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#include - -class ExpandCheckBox : public QCheckBox { - Q_OBJECT -}; diff --git a/UI/source-tree.cpp b/UI/source-tree.cpp index dd7af31f4..3cfdcd5ed 100644 --- a/UI/source-tree.cpp +++ b/UI/source-tree.cpp @@ -4,7 +4,6 @@ #include "qt-wrappers.hpp" #include "visibility-checkbox.hpp" #include "locked-checkbox.hpp" -#include "expand-checkbox.hpp" #include "platform.hpp" #include