From 984cc1336b6478b049b20eba693d75510a11ad50 Mon Sep 17 00:00:00 2001 From: Randy Baumgarte Date: Sat, 28 Aug 2010 11:10:44 -0400 Subject: [PATCH] Disable waitCursor function. This breaks the cursor changing during long running operations, but there is a bug somewhere that causes it to "stick" on the wait cursor. Once this in found it can be re-enabled. --- src/cx/fbn/nevernote/NeverNote.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/cx/fbn/nevernote/NeverNote.java b/src/cx/fbn/nevernote/NeverNote.java index 71857fd..d6d5262 100644 --- a/src/cx/fbn/nevernote/NeverNote.java +++ b/src/cx/fbn/nevernote/NeverNote.java @@ -85,7 +85,6 @@ import com.trolltech.qt.gui.QCloseEvent; import com.trolltech.qt.gui.QColor; import com.trolltech.qt.gui.QComboBox; import com.trolltech.qt.gui.QComboBox.InsertPolicy; -import com.trolltech.qt.gui.QCursor; import com.trolltech.qt.gui.QDesktopServices; import com.trolltech.qt.gui.QDialog; import com.trolltech.qt.gui.QFileDialog; @@ -787,10 +786,10 @@ public class NeverNote extends QMainWindow{ } private void waitCursor(boolean wait) { - if (wait) - QApplication.setOverrideCursor(new QCursor(Qt.CursorShape.WaitCursor)); - else - QApplication.restoreOverrideCursor(); +// if (wait) +// QApplication.setOverrideCursor(new QCursor(Qt.CursorShape.WaitCursor)); +// else +// QApplication.restoreOverrideCursor(); } private void setupIndexListeners() { -- 2.11.0