From 70620d51374d677bd6cafc21b470446696c9e0a0 Mon Sep 17 00:00:00 2001
From: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Date: Sun, 4 Dec 2022 12:45:36 +0100
Subject: [PATCH] feat: add a proper server icon
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
---
.../resources/breeze_dark/breeze_dark.qrc | 1 +
.../resources/breeze_dark/scalable/server.svg | 13 +
.../resources/breeze_light/breeze_light.qrc | 1 +
.../breeze_light/scalable/server.svg | 13 +
launcher/resources/flat/flat.qrc | 1 +
launcher/resources/flat/scalable/server.svg | 1 +
launcher/resources/flat_white/flat_white.qrc | 1 +
.../resources/flat_white/scalable/server.svg | 1 +
launcher/resources/multimc/multimc.qrc | 1 +
.../resources/multimc/scalable/server.svg | 9764 +++++++++++++++++
launcher/ui/pages/instance/ServersPage.h | 2 +-
11 files changed, 9798 insertions(+), 1 deletion(-)
create mode 100644 launcher/resources/breeze_dark/scalable/server.svg
create mode 100644 launcher/resources/breeze_light/scalable/server.svg
create mode 100644 launcher/resources/flat/scalable/server.svg
create mode 100644 launcher/resources/flat_white/scalable/server.svg
create mode 100644 launcher/resources/multimc/scalable/server.svg
diff --git a/launcher/resources/breeze_dark/breeze_dark.qrc b/launcher/resources/breeze_dark/breeze_dark.qrc
index 97434abc..79707828 100644
--- a/launcher/resources/breeze_dark/breeze_dark.qrc
+++ b/launcher/resources/breeze_dark/breeze_dark.qrc
@@ -40,5 +40,6 @@
scalable/export.svg
scalable/rename.svg
scalable/launch.svg
+ scalable/server.svg
diff --git a/launcher/resources/breeze_dark/scalable/server.svg b/launcher/resources/breeze_dark/scalable/server.svg
new file mode 100644
index 00000000..7d9af3e7
--- /dev/null
+++ b/launcher/resources/breeze_dark/scalable/server.svg
@@ -0,0 +1,13 @@
+
diff --git a/launcher/resources/breeze_light/breeze_light.qrc b/launcher/resources/breeze_light/breeze_light.qrc
index 6d868b18..ae8dbf3b 100644
--- a/launcher/resources/breeze_light/breeze_light.qrc
+++ b/launcher/resources/breeze_light/breeze_light.qrc
@@ -40,5 +40,6 @@
scalable/export.svg
scalable/rename.svg
scalable/launch.svg
+ scalable/server.svg
diff --git a/launcher/resources/breeze_light/scalable/server.svg b/launcher/resources/breeze_light/scalable/server.svg
new file mode 100644
index 00000000..52d7dd7d
--- /dev/null
+++ b/launcher/resources/breeze_light/scalable/server.svg
@@ -0,0 +1,13 @@
+
diff --git a/launcher/resources/flat/flat.qrc b/launcher/resources/flat/flat.qrc
index a846bd2d..cadf8736 100644
--- a/launcher/resources/flat/flat.qrc
+++ b/launcher/resources/flat/flat.qrc
@@ -47,6 +47,7 @@
scalable/tag.svg
scalable/export.svg
scalable/rename.svg
+ scalable/server.svg
scalable/launch.svg
diff --git a/launcher/resources/flat/scalable/server.svg b/launcher/resources/flat/scalable/server.svg
new file mode 100644
index 00000000..49c22b38
--- /dev/null
+++ b/launcher/resources/flat/scalable/server.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/launcher/resources/flat_white/flat_white.qrc b/launcher/resources/flat_white/flat_white.qrc
index b0759d8f..2701462f 100644
--- a/launcher/resources/flat_white/flat_white.qrc
+++ b/launcher/resources/flat_white/flat_white.qrc
@@ -48,5 +48,6 @@
scalable/rename.svg
scalable/tag.svg
scalable/launch.svg
+ scalable/server.svg
diff --git a/launcher/resources/flat_white/scalable/server.svg b/launcher/resources/flat_white/scalable/server.svg
new file mode 100644
index 00000000..f41db1b2
--- /dev/null
+++ b/launcher/resources/flat_white/scalable/server.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/launcher/resources/multimc/multimc.qrc b/launcher/resources/multimc/multimc.qrc
index 42b496da..9712698d 100644
--- a/launcher/resources/multimc/multimc.qrc
+++ b/launcher/resources/multimc/multimc.qrc
@@ -346,5 +346,6 @@
scalable/export.svg
scalable/launch.svg
+ scalable/server.svg
diff --git a/launcher/resources/multimc/scalable/server.svg b/launcher/resources/multimc/scalable/server.svg
new file mode 100644
index 00000000..c6a957b3
--- /dev/null
+++ b/launcher/resources/multimc/scalable/server.svg
@@ -0,0 +1,9764 @@
+
+
+
+
\ No newline at end of file
diff --git a/launcher/ui/pages/instance/ServersPage.h b/launcher/ui/pages/instance/ServersPage.h
index 37399d49..ee63353a 100644
--- a/launcher/ui/pages/instance/ServersPage.h
+++ b/launcher/ui/pages/instance/ServersPage.h
@@ -68,7 +68,7 @@ public:
}
virtual QIcon icon() const override
{
- return APPLICATION->getThemedIcon("unknown_server");
+ return APPLICATION->getThemedIcon("server");
}
virtual QString id() const override
{