소스 검색

BUG: Clear box icon renamed to be considered

We investigated this issue in depth with Jc in Salt Lake City and it is still a mystery why the old icon is used despite I changed its contents. We agreed that the best would be to simply rename the icon.

Fixes #501
Csaba Pitner 10 년 전
부모
커밋
6b156e7432
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 0
      Libs/Widgets/Resources/Icons/clear2.svg
  2. 1 1
      Libs/Widgets/Resources/ctkWidgets.qrc
  3. 1 1
      Libs/Widgets/ctkSearchBox.cpp

Libs/Widgets/Resources/Icons/clear.svg → Libs/Widgets/Resources/Icons/clear2.svg


+ 1 - 1
Libs/Widgets/Resources/ctkWidgets.qrc

@@ -8,7 +8,7 @@
         <file>Icons/expand-down.png</file>
         <file>Icons/expand-up.png</file>
         <file>Icons/search.svg</file>
-        <file>Icons/clear.svg</file>
+        <file>Icons/clear2.svg</file>
         <file>Icons/Languages/ad.png</file>
         <file>Icons/Languages/ae.png</file>
         <file>Icons/Languages/af.png</file>

+ 1 - 1
Libs/Widgets/ctkSearchBox.cpp

@@ -60,7 +60,7 @@ public:
 ctkSearchBoxPrivate::ctkSearchBoxPrivate(ctkSearchBox &object)
   : q_ptr(&object)
 {
-  this->clearIcon = QIcon(":Icons/clear.svg");
+  this->clearIcon = QIcon(":Icons/clear2.svg");
   this->searchIcon = QIcon(":Icons/search.svg");
   this->showSearchIcon = false;
   this->alwaysShowClearIcon = false;