From 62b86dba6edc902501a7c6938d370f8a05db8af7 Mon Sep 17 00:00:00 2001 From: Kel Modderman Date: Wed, 24 Sep 2008 12:22:50 +0300 Subject: [PATCH] wpa_gui-qt4: use new svg as application icon Enhance wpa_gui's appearance by integrating the new svg icon via a resource file. Signed-off-by: Kel Modderman --- wpa_supplicant/wpa_gui-qt4/icons.qrc | 5 +++++ wpa_supplicant/wpa_gui-qt4/wpa_gui.pro | 2 ++ wpa_supplicant/wpa_gui-qt4/wpagui.ui | 8 +++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 wpa_supplicant/wpa_gui-qt4/icons.qrc diff --git a/wpa_supplicant/wpa_gui-qt4/icons.qrc b/wpa_supplicant/wpa_gui-qt4/icons.qrc new file mode 100644 index 000000000..93e94fce2 --- /dev/null +++ b/wpa_supplicant/wpa_gui-qt4/icons.qrc @@ -0,0 +1,5 @@ + + + icons/wpa_gui.svg + + diff --git a/wpa_supplicant/wpa_gui-qt4/wpa_gui.pro b/wpa_supplicant/wpa_gui-qt4/wpa_gui.pro index ac607012b..c7dfa05b5 100644 --- a/wpa_supplicant/wpa_gui-qt4/wpa_gui.pro +++ b/wpa_supplicant/wpa_gui-qt4/wpa_gui.pro @@ -36,6 +36,8 @@ SOURCES += main.cpp \ networkconfig.cpp \ ../../src/common/wpa_ctrl.c +RESOURCES += icons.qrc + FORMS = wpagui.ui \ eventhistory.ui \ scanresults.ui \ diff --git a/wpa_supplicant/wpa_gui-qt4/wpagui.ui b/wpa_supplicant/wpa_gui-qt4/wpagui.ui index 2346912d0..5f24c00ce 100644 --- a/wpa_supplicant/wpa_gui-qt4/wpagui.ui +++ b/wpa_supplicant/wpa_gui-qt4/wpagui.ui @@ -12,6 +12,10 @@ wpa_gui + + + :/icons/wpa_gui.svg:/icons/wpa_gui.svg + @@ -414,6 +418,8 @@ eventhistory.h scanresults.h - + + +