Commit 5f453fa4 authored by Grumbel's avatar Grumbel

Set a window icon

parent 0e80338c
......@@ -64,6 +64,7 @@ JoystickListWidget::JoystickListWidget() :
{
set_title("Joystick Preferences");
set_icon_from_file(Main::current()->get_data_directory() + "generic.png");
set_default_size(450, 310);
label.set_line_wrap();
......
......@@ -50,6 +50,7 @@ JoystickTestWidget::JoystickTestWidget(JoystickGui& gui, Joystick& joystick_, bo
left_trigger_widget(32, 128, true),
right_trigger_widget(32, 128, true)
{
set_icon_from_file(Main::current()->get_data_directory() + "generic.png");
label.set_use_markup(true);
label.set_selectable();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment