fix: build error on ubuntu

This commit is contained in:
rankun 2020-06-06 18:41:14 +08:00
parent d089c9fc69
commit d0890bf46b

View file

@ -501,7 +501,7 @@ void VideoForm::mousePressEvent(QMouseEvent *event)
qreal x = event->localPos().x() / m_videoWidget->size().width();
qreal y = event->localPos().y() / m_videoWidget->size().height();
QString posTip = QString(R"("pos": {"x": %1, "y": %2})").arg(x).arg(y);
qInfo(posTip.toStdString().c_str());
qInfo() << posTip.toStdString().c_str();
}
} else {
if (event->button() == Qt::LeftButton) {