diff --git a/dcc-network-plugin/icons/dcc-network-plugin.qrc b/dcc-network-plugin/icons/dcc-network-plugin.qrc index 51ecdeb9..b3e2a83d 100644 --- a/dcc-network-plugin/icons/dcc-network-plugin.qrc +++ b/dcc-network-plugin/icons/dcc-network-plugin.qrc @@ -10,6 +10,7 @@ actions/dcc_system_agent_32px.svg actions/dcc_vpn_32px.svg actions/dcc_wifi_32px.svg + texts/dcc_vpn_import_20px.svg texts/dcc_wireless-0_16px.svg texts/dcc_wireless-2_16px.svg texts/dcc_wireless-4_16px.svg diff --git a/dcc-network-plugin/icons/texts/dcc_vpn_import_20px.svg b/dcc-network-plugin/icons/texts/dcc_vpn_import_20px.svg new file mode 100644 index 00000000..55ce2efc --- /dev/null +++ b/dcc-network-plugin/icons/texts/dcc_vpn_import_20px.svg @@ -0,0 +1,18 @@ + + + icon_import + + + + + + + + + + + + + + + diff --git a/dcc-network-plugin/window/vpnmodule.cpp b/dcc-network-plugin/window/vpnmodule.cpp index 2baa35b2..56d32ac1 100644 --- a/dcc-network-plugin/window/vpnmodule.cpp +++ b/dcc-network-plugin/window/vpnmodule.cpp @@ -86,7 +86,7 @@ VPNModule::VPNModule(QObject *parent) extraCreate->setExtra(); m_modules.append(extraCreate); ModuleObject *extraImport = new WidgetModule("addWired", tr("Add Network Connection"), [this](FloatingButton *importVpnBtn) { - importVpnBtn->QAbstractButton::setText("\342\206\223"); + importVpnBtn->setIcon(QIcon::fromTheme("dcc_vpn_import")); importVpnBtn->setToolTip(tr("Import VPN")); importVpnBtn->setAccessibleName(tr("Import VPN")); connect(importVpnBtn, &DFloatingButton::clicked, this, &VPNModule::importVPN);