diff --git a/QtScrcpy/res/QtScrcpy.icns b/QtScrcpy/res/QtScrcpy.icns index 40386e2..22aaedb 100644 Binary files a/QtScrcpy/res/QtScrcpy.icns and b/QtScrcpy/res/QtScrcpy.icns differ diff --git a/QtScrcpy/res/QtScrcpy.ico b/QtScrcpy/res/QtScrcpy.ico index c8188b2..f2eb0d2 100644 Binary files a/QtScrcpy/res/QtScrcpy.ico and b/QtScrcpy/res/QtScrcpy.ico differ diff --git a/QtScrcpy/videoform.cpp b/QtScrcpy/videoform.cpp index ce9197a..5e26869 100644 --- a/QtScrcpy/videoform.cpp +++ b/QtScrcpy/videoform.cpp @@ -1,5 +1,6 @@ #include #include +#include #ifdef Q_OS_WIN32 #include #endif @@ -79,15 +80,18 @@ VideoForm::VideoForm(const QString& serial, QWidget *parent) : m_frames.unLock(); },Qt::QueuedConnection); - // support 480p 720p 1080p - //m_server->start("P7C0218510000537", 27183, 0, 8000000, ""); - //m_server->start("P7C0218510000537", 27183, 1080, 8000000, ""); + // fix: macos cant recv finished signel, timer is ok + QTimer::singleShot(0, this, [this](){ + // support 480p 720p 1080p + //m_server->start("P7C0218510000537", 27183, 0, 8000000, ""); + //m_server->start("P7C0218510000537", 27183, 1080, 8000000, ""); - // only one devices, serial can be null - m_server->start(m_serial, 27183, 720, 8000000, ""); + // only one devices, serial can be null + m_server->start(m_serial, 27183, 720, 8000000, ""); - // support wireless connect - //m_server->start("192.168.0.174:5555", 27183, 720, 8000000, ""); + // support wireless connect + //m_server->start("192.168.0.174:5555", 27183, 720, 8000000, ""); + }); } VideoForm::~VideoForm()