From 40cebd421bd49ee8795bd5caccac421bfb961880 Mon Sep 17 00:00:00 2001 From: TriKriSta Date: Wed, 14 Feb 2018 19:41:59 +0200 Subject: [PATCH] refactor: rename hideButton to searchHideButton --- res.qrc | 2 +- src/widget/searchform.cpp | 2 +- ui/chatForm/buttons.css | 4 ++-- ui/chatForm/{hideButton.svg => searchHideButton.svg} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename ui/chatForm/{hideButton.svg => searchHideButton.svg} (100%) diff --git a/res.qrc b/res.qrc index 8bba49087..24c48d855 100644 --- a/res.qrc +++ b/res.qrc @@ -53,7 +53,6 @@ ui/chatArea/scrollBarRightArrow.svg ui/chatForm/buttons.css ui/chatForm/callButton.svg - ui/chatForm/hideButton.svg ui/chatForm/micButton.svg ui/chatForm/videoButton.svg ui/chatForm/volButton.svg @@ -61,6 +60,7 @@ ui/chatForm/fileButton.svg ui/chatForm/screenshotButton.svg ui/chatForm/searchDownButton.svg + ui/chatForm/searchHideButton.svg ui/chatForm/searchUpButton.svg ui/chatForm/sendButton.svg ui/emoticonWidget/dot_page.svg diff --git a/src/widget/searchform.cpp b/src/widget/searchform.cpp index 69092e61c..de8c95eab 100644 --- a/src/widget/searchform.cpp +++ b/src/widget/searchform.cpp @@ -30,7 +30,7 @@ SearchForm::SearchForm(QWidget* parent) : QWidget(parent) upButton = createButton("searchUpButton", "green"); downButton = createButton("searchDownButton", "green"); - hideButton = createButton("hideButton", "red"); + hideButton = createButton("searchHideButton", "red"); layout->setMargin(0); layout->addWidget(searchLine); diff --git a/ui/chatForm/buttons.css b/ui/chatForm/buttons.css index 4042f362b..a43e32458 100644 --- a/ui/chatForm/buttons.css +++ b/ui/chatForm/buttons.css @@ -69,9 +69,9 @@ QAbstractButton#callButton /* SearchLine */ -QAbstractButton#hideButton +QAbstractButton#searchHideButton { - background-image: url(":/ui/chatForm/hideButton.svg"); + background-image: url(":/ui/chatForm/searchHideButton.svg"); border-radius: 5px; width: 35px; height: 35px; diff --git a/ui/chatForm/hideButton.svg b/ui/chatForm/searchHideButton.svg similarity index 100% rename from ui/chatForm/hideButton.svg rename to ui/chatForm/searchHideButton.svg