Make cursor an arrow pointer in activity widgets

The change  to use  QTextEdit in  read only mode  cause the  cursor to
become an I-beam type, this changes  it to the arrow pointer type that
the previous QTextBrowser used by default.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4959 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2015-02-13 15:38:46 +00:00
parent 0e5c5a6bfc
commit 464a9547e4
2 changed files with 8 additions and 34 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ DisplayText::DisplayText(QWidget *parent) :
QTextEdit(parent)
{
setReadOnly (true);
setCursorWidth (0);
viewport ()->setCursor (Qt::ArrowCursor);
}
void DisplayText::mouseDoubleClickEvent(QMouseEvent *e)