Sfoglia il codice sorgente

Changes cursor when mouse enters ctkSearchBox
clear button.

See http://na-mic.org/Mantis/view.php?id=1347

Christopher Mullins 12 anni fa
parent
commit
48457fad20
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Libs/Widgets/ctkSearchBox.cpp

+ 1 - 1
Libs/Widgets/ctkSearchBox.cpp

@@ -318,7 +318,7 @@ void ctkSearchBox::mouseMoveEvent(QMouseEvent *e)
   if(d->clearRect().contains(e->pos()) ||
      (d->showSearchIcon && d->searchRect().contains(e->pos())))
     {
-    this->setCursor(Qt::ArrowCursor);
+    this->setCursor(Qt::PointingHandCursor);
     }
   else
     {