OSDN Git Service

Disable waitCursor function. This breaks the cursor changing during long running...
authorRandy Baumgarte <randy@fbn.cx>
Sat, 28 Aug 2010 15:10:44 +0000 (11:10 -0400)
committerRandy Baumgarte <randy@fbn.cx>
Sat, 28 Aug 2010 15:22:01 +0000 (11:22 -0400)
src/cx/fbn/nevernote/NeverNote.java

index 71857fd..d6d5262 100644 (file)
@@ -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() {