From b316a5d5415fd2d4971d09dcfa0c11e931035b8e Mon Sep 17 00:00:00 2001 From: tooomm Date: Mon, 18 Jun 2018 00:09:58 +0200 Subject: [PATCH] new icons (#3289) --- cockatrice/cockatrice.qrc | 2 ++ cockatrice/resources/icons/forgot_password.svg | 6 ++++++ cockatrice/resources/icons/sync.svg | 6 ++++++ cockatrice/src/dlg_connect.cpp | 4 ++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 cockatrice/resources/icons/forgot_password.svg create mode 100644 cockatrice/resources/icons/sync.svg diff --git a/cockatrice/cockatrice.qrc b/cockatrice/cockatrice.qrc index 432a9fa7..3619cc0d 100644 --- a/cockatrice/cockatrice.qrc +++ b/cockatrice/cockatrice.qrc @@ -16,6 +16,7 @@ resources/icons/conceded.svg resources/icons/decrement.svg resources/icons/delete.svg + resources/icons/forgot_password.svg resources/icons/increment.svg resources/icons/lock.svg resources/icons/not_ready_start.svg @@ -26,6 +27,7 @@ resources/icons/search.svg resources/icons/settings.svg resources/icons/spectator.svg + resources/icons/sync.svg resources/icons/tab_changed.svg resources/icons/update.png resources/icons/view.svg diff --git a/cockatrice/resources/icons/forgot_password.svg b/cockatrice/resources/icons/forgot_password.svg new file mode 100644 index 00000000..f938ca3f --- /dev/null +++ b/cockatrice/resources/icons/forgot_password.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/cockatrice/resources/icons/sync.svg b/cockatrice/resources/icons/sync.svg new file mode 100644 index 00000000..e287b199 --- /dev/null +++ b/cockatrice/resources/icons/sync.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/cockatrice/src/dlg_connect.cpp b/cockatrice/src/dlg_connect.cpp index 32e5286f..84eb1dec 100644 --- a/cockatrice/src/dlg_connect.cpp +++ b/cockatrice/src/dlg_connect.cpp @@ -24,7 +24,7 @@ DlgConnect::DlgConnect(QWidget *parent) : QDialog(parent) hps = new HandlePublicServers(this); btnRefreshServers = new QPushButton(this); - btnRefreshServers->setIcon(QPixmap("theme:icons/update")); + btnRefreshServers->setIcon(QPixmap("theme:icons/sync")); btnRefreshServers->setToolTip(tr("Refresh the server list with known public servers")); btnRefreshServers->setFixedWidth(30); @@ -86,7 +86,7 @@ DlgConnect::DlgConnect(QWidget *parent) : QDialog(parent) updateDisplayInfo(previousHosts->currentText()); btnForgotPassword = new QPushButton(this); - btnForgotPassword->setIcon(QPixmap("theme:icons/lock")); + btnForgotPassword->setIcon(QPixmap("theme:icons/forgot_password")); btnForgotPassword->setToolTip(tr("Forgot Password")); btnForgotPassword->setFixedWidth(30); connect(btnForgotPassword, SIGNAL(released()), this, SLOT(actForgotPassword()));