mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 14:18:45 +00:00
fix: build error on ubuntu
This commit is contained in:
parent
d089c9fc69
commit
d0890bf46b
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ void VideoForm::mousePressEvent(QMouseEvent *event)
|
||||||
qreal x = event->localPos().x() / m_videoWidget->size().width();
|
qreal x = event->localPos().x() / m_videoWidget->size().width();
|
||||||
qreal y = event->localPos().y() / m_videoWidget->size().height();
|
qreal y = event->localPos().y() / m_videoWidget->size().height();
|
||||||
QString posTip = QString(R"("pos": {"x": %1, "y": %2})").arg(x).arg(y);
|
QString posTip = QString(R"("pos": {"x": %1, "y": %2})").arg(x).arg(y);
|
||||||
qInfo(posTip.toStdString().c_str());
|
qInfo() << posTip.toStdString().c_str();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (event->button() == Qt::LeftButton) {
|
if (event->button() == Qt::LeftButton) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue