updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / kdestyle-domino / domino-0.4-fix-invisible-cursor-when-marking-text.patch
blob0e868b1dba6068ec7f12ebd6eed4021d52a5b4d3
1 diff -Naur domino-0.4.orig/domino/eventfilter.cpp domino-0.4/domino/eventfilter.cpp
2 --- domino-0.4.orig/domino/eventfilter.cpp 2007-08-22 04:19:07.000000000 +0200
3 +++ domino-0.4/domino/eventfilter.cpp 2007-02-16 22:17:36.000000000 +0100
4 @@ -444,7 +444,7 @@
5 case 6/*QEvent::KeyPress*/: {
6 // it will be reseted in QLineEdit::mouseMoveEvent()
7 if(isLineEdit && !khtmlMode && isEnabled && !isReadOnly && !isDateTimeEditor)
8 - static_cast<QWidget*>(obj)->setCursor(Qt::blankCursor);
9 + static_cast<QWidget*>(obj)->setCursor(Qt::ibeamCursor);
10 return false;
12 case QEvent::ApplicationPaletteChange:
13 @@ -1687,7 +1687,7 @@
14 case 6/*QEvent::KeyPress*/: {
15 QTextEdit* te = dynamic_cast<QTextEdit*>(obj->parent());
16 if(te->isEnabled() && !te->isReadOnly())
17 - static_cast<QWidget*>(obj)->setCursor(Qt::blankCursor);
18 + static_cast<QWidget*>(obj)->setCursor(Qt::ibeamCursor);
19 return false;
21 default: