Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.2.0
-
None
-
Windows 7, Qt 5.2.0
-
1cc421eb250a2fabe55133155a5c5ab8a0e5dd31 (stable, 20.3.2014, 5.3)
Description
When moving mouse over QLineEdit with no text and with the clear button enabled but no shown, the cursor changes from Qt::IBeamCursor to Qt::ArrowCursor in the place where the clear button would appear if there was any text inputted.
It changes cursor as if the clear button was actually visible there.
See attached image for better explanation.
Example code:
main.cpp
#include <QApplication> #include <QLineEdit> int main(int argc, char *argv[]) { QApplication a(argc, argv); QLineEdit line; line.setClearButtonEnabled(true); line.show(); return a.exec(); }