summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-13 20:08:31 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-13 20:18:11 +0200
commit5099e76ce65ed9dd7e2b1cbaabbc86e1169c24a1 (patch)
treea0eea9e478d8f1bbd41867c69be1c10b0d57a3c6 /Libraries/LibGUI
parent686ee2bf047bcf474747b49e2495885f00061c9f (diff)
downloadserenity-5099e76ce65ed9dd7e2b1cbaabbc86e1169c24a1.zip
LibGUI: Remove unused bool SortingProxyModel::m_sorting
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r--Libraries/LibGUI/SortingProxyModel.cpp1
-rw-r--r--Libraries/LibGUI/SortingProxyModel.h1
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 };
};
}