summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/AbstractTableView.cpp
diff options
context:
space:
mode:
authorHüseyin ASLITÜRK <asliturk@hotmail.com>2020-05-16 22:21:29 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-20 13:40:24 +0200
commitd18f6e82eb95054108114843ef824bf36026c758 (patch)
tree19bf31016c5b3fc7e1f963e09bc83a4462c11295 /Libraries/LibGUI/AbstractTableView.cpp
parent80699a0824512584553e2f8fac634d4957db54be (diff)
downloadserenity-d18f6e82eb95054108114843ef824bf36026c758.zip
LibGUI: Replace up and down arrows with emoji
Diffstat (limited to 'Libraries/LibGUI/AbstractTableView.cpp')
-rw-r--r--Libraries/LibGUI/AbstractTableView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibGUI/AbstractTableView.cpp b/Libraries/LibGUI/AbstractTableView.cpp
index e480ba5983..b2d91bf51d 100644
--- a/Libraries/LibGUI/AbstractTableView.cpp
+++ b/Libraries/LibGUI/AbstractTableView.cpp
@@ -75,7 +75,7 @@ void AbstractTableView::update_column_sizes()
continue;
int header_width = header_font().width(model.column_name(column));
if (column == key_column)
- header_width += font().width(" \xc3\xb6");
+ header_width += font().width(" \xE2\xAC\x86"); // UPWARDS BLACK ARROW
int column_width = header_width;
for (int row = 0; row < row_count; ++row) {
auto cell_data = model.data(model.index(row, column));
@@ -158,9 +158,9 @@ void AbstractTableView::paint_headers(Painter& painter)
builder.append(model()->column_name(column_index));
auto sort_order = model()->sort_order();
if (sort_order == SortOrder::Ascending)
- builder.append(" \xc3\xb6");
+ builder.append(" \xE2\xAC\x86"); // UPWARDS BLACK ARROW
else if (sort_order == SortOrder::Descending)
- builder.append(" \xc3\xb7");
+ builder.append(" \xE2\xAC\x87"); // DOWNWARDS BLACK ARROW
text = builder.to_string();
} else {
text = model()->column_name(column_index);