[Kst] extragear/graphics/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Thu Aug 18 19:53:07 CEST 2005
SVN commit 450636 by rchern:
Set mouse mode correctly when creating a new window
M +3 -1 ksttoplevelview.cpp
--- trunk/extragear/graphics/kst/kst/ksttoplevelview.cpp #450635:450636
@@ -71,7 +71,6 @@
void KstTopLevelView::commonConstructor() {
_focusOn = false;
- setViewMode(_mode = KstApp::inst()->currentViewMode());
_pressDirection = -1;
_moveOffset = QPoint(-1, -1);
_moveOffsetSticky = QPoint(0, 0);
@@ -85,6 +84,9 @@
_ellipseMouseHandler = new KstGfxEllipseMouseHandler(this);
_pictureMouseHandler = new KstGfxPictureMouseHandler(this);
_arrowMouseHandler = new KstGfxArrowMouseHandler(this);
+
+ _mode = Unknown;
+ setViewMode(KstApp::inst()->currentViewMode());
}
More information about the Kst
mailing list