r18200 by fschmid - Fixed non working guides creation with the mouse if this is the first action in a newly opend document
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 11 20:18:24 UTC 2013
Author: fschmid
Date: Mon Mar 11 20:18:24 2013
New Revision: 18200
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18200
Log:
Fixed non working guides creation with the mouse if this is the first action in a newly opend document
Modified:
trunk/Scribus/scribus/ui/hruler.cpp
trunk/Scribus/scribus/ui/rulermover.cpp
trunk/Scribus/scribus/ui/vruler.cpp
Modified: trunk/Scribus/scribus/ui/hruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18200&path=/trunk/Scribus/scribus/ui/hruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/hruler.cpp (original)
+++ trunk/Scribus/scribus/ui/hruler.cpp Mon Mar 11 20:18:24 2013
@@ -236,6 +236,7 @@
{
qApp->setOverrideCursor(QCursor(SPLITHC));
currView->startGesture(rulerGesture);
+ currView->registerMousePress(m->globalPos());
}
}
}
Modified: trunk/Scribus/scribus/ui/rulermover.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18200&path=/trunk/Scribus/scribus/ui/rulermover.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/rulermover.cpp (original)
+++ trunk/Scribus/scribus/ui/rulermover.cpp Mon Mar 11 20:18:24 2013
@@ -66,6 +66,7 @@
Mpressed = true;
qApp->setOverrideCursor(QCursor(Qt::CrossCursor));
currView->startGesture(rulerGesture);
+ currView->registerMousePress(m->globalPos());
}
QWidget::mousePressEvent(m);
}
Modified: trunk/Scribus/scribus/ui/vruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18200&path=/trunk/Scribus/scribus/ui/vruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/vruler.cpp (original)
+++ trunk/Scribus/scribus/ui/vruler.cpp Mon Mar 11 20:18:24 2013
@@ -75,6 +75,7 @@
{
qApp->setOverrideCursor(QCursor(SPLITVC));
currView->startGesture(rulerGesture);
+ currView->registerMousePress(m->globalPos());
}
}
More information about the scribus-commit
mailing list