From d0890bf46b79be1a2654e60993150fc5c94601c5 Mon Sep 17 00:00:00 2001 From: rankun Date: Sat, 6 Jun 2020 18:41:14 +0800 Subject: [PATCH] fix: build error on ubuntu --- QtScrcpy/device/ui/videoform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtScrcpy/device/ui/videoform.cpp b/QtScrcpy/device/ui/videoform.cpp index a8ff5b9..aee311b 100644 --- a/QtScrcpy/device/ui/videoform.cpp +++ b/QtScrcpy/device/ui/videoform.cpp @@ -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) {