Explorar el Código

Changes cursor when mouse enters ctkSearchBox
clear button.

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

Christopher Mullins hace 12 años
padre
commit
48457fad20
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()) ||
   if(d->clearRect().contains(e->pos()) ||
      (d->showSearchIcon && d->searchRect().contains(e->pos())))
      (d->showSearchIcon && d->searchRect().contains(e->pos())))
     {
     {
-    this->setCursor(Qt::ArrowCursor);
+    this->setCursor(Qt::PointingHandCursor);
     }
     }
   else
   else
     {
     {