diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-13 20:08:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-13 20:18:11 +0200 |
commit | 5099e76ce65ed9dd7e2b1cbaabbc86e1169c24a1 (patch) | |
tree | a0eea9e478d8f1bbd41867c69be1c10b0d57a3c6 /Libraries/LibGUI | |
parent | 686ee2bf047bcf474747b49e2495885f00061c9f (diff) | |
download | serenity-5099e76ce65ed9dd7e2b1cbaabbc86e1169c24a1.zip |
LibGUI: Remove unused bool SortingProxyModel::m_sorting
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/SortingProxyModel.cpp | 1 | ||||
-rw-r--r-- | Libraries/LibGUI/SortingProxyModel.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibGUI/SortingProxyModel.cpp b/Libraries/LibGUI/SortingProxyModel.cpp index 26a24b3753..0510478a6e 100644 --- a/Libraries/LibGUI/SortingProxyModel.cpp +++ b/Libraries/LibGUI/SortingProxyModel.cpp @@ -111,7 +111,6 @@ void SortingProxyModel::set_key_column_and_sort_order(int column, SortOrder sort void SortingProxyModel::resort(unsigned flags) { - TemporaryChange change(m_sorting, true); auto old_row_mappings = m_row_mappings; int row_count = source().row_count(); m_row_mappings.resize(row_count); diff --git a/Libraries/LibGUI/SortingProxyModel.h b/Libraries/LibGUI/SortingProxyModel.h index 19231ccf09..e3b83025b2 100644 --- a/Libraries/LibGUI/SortingProxyModel.h +++ b/Libraries/LibGUI/SortingProxyModel.h @@ -74,7 +74,6 @@ private: SortOrder m_sort_order { SortOrder::Ascending }; Role m_sort_role { Role::Sort }; bool m_sorting_case_sensitive { false }; - bool m_sorting { false }; }; } |