mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-10 17:49:12 +02:00
Commented-out unnecessary lines of debugging code.
This commit is contained in:
@@ -81,7 +81,7 @@ void OutputGLCanvas::drawForeground(QPainter *painter , const QRectF &rect)
|
||||
QRect mouseScreenGeometry = QApplication::desktop()->screen(mouseScreen)->geometry();
|
||||
QPoint localCursorPos = globalCursorPos - mouseScreenGeometry.topLeft();
|
||||
QPointF cursorPosition = mapToScene(localCursorPos);
|
||||
qDebug() << "Cursor pos " << globalCursorPos << " " << cursorPosition << " " << localCursorPos << mouseScreen << endl;
|
||||
// qDebug() << "Cursor pos " << globalCursorPos << " " << cursorPosition << " " << localCursorPos << mouseScreen << endl;
|
||||
if (rect.contains(cursorPosition) && getMainWindow()->getPreferredScreen() == mouseScreen)
|
||||
// qDebug() << "Cursor pos " << mapToScene(mapFromGlobal(QCursor::pos(QApplication::screens()[1])));
|
||||
#else
|
||||
|
||||
@@ -82,7 +82,6 @@ void OutputGLWindow::setCanvasDisplayCrosshair(bool crosshair)
|
||||
{
|
||||
canvas->setDisplayCrosshair(crosshair);
|
||||
setCursor(crosshair || this->_isFullScreen ? Qt::BlankCursor : Qt::ArrowCursor);
|
||||
qDebug() << "Crosshair " << crosshair;
|
||||
}
|
||||
|
||||
void OutputGLWindow::setDisplayTestSignal(bool displayTestSignal)
|
||||
|
||||
Reference in New Issue
Block a user