summaryrefslogtreecommitdiff
path: root/Applications/Calendar/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Calendar/main.cpp')
-rw-r--r--Applications/Calendar/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Applications/Calendar/main.cpp b/Applications/Calendar/main.cpp
index 81840c4fe4..95dec9d301 100644
--- a/Applications/Calendar/main.cpp
+++ b/Applications/Calendar/main.cpp
@@ -40,6 +40,7 @@
#include <LibGfx/Bitmap.h>
#include <LibGfx/Color.h>
#include <LibGfx/Font.h>
+#include <LibGfx/FontDatabase.h>
#include <stdio.h>
int main(int argc, char** argv)
@@ -136,7 +137,7 @@ int main(int argc, char** argv)
selected_calendar_button = toolbar.add<GUI::Button>(calendar_widget.selected_calendar_text());
selected_calendar_button->set_fixed_width(70);
selected_calendar_button->set_button_style(Gfx::ButtonStyle::CoolBar);
- selected_calendar_button->set_font(Gfx::Font::default_bold_fixed_width_font());
+ selected_calendar_button->set_font(Gfx::FontDatabase::default_bold_fixed_width_font());
selected_calendar_button->on_click = [&](auto) {
calendar_widget.toggle_mode();
selected_calendar_button->set_text(calendar_widget.selected_calendar_text());