[helpers/xclipboradsync] Ensure that KWayland::Client connects through the passed fd
One needs to call ConnectionThread::setSocketFd in order to not have it connect through the normal socket. As WAYLAND_SOCKET is set the implementation would call the correct functionality anyway. This change only ensures that no wrong debug message gets logged.
This commit is contained in:
parent
83dca5b524
commit
1d24264e45
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ WaylandClipboard::WaylandClipboard(QObject *parent)
|
||||||
, m_thread(new QThread)
|
, m_thread(new QThread)
|
||||||
, m_connectionThread(new ConnectionThread)
|
, m_connectionThread(new ConnectionThread)
|
||||||
{
|
{
|
||||||
|
m_connectionThread->setSocketFd(qgetenv("WAYLAND_SOCKET").toInt());
|
||||||
m_connectionThread->moveToThread(m_thread);
|
m_connectionThread->moveToThread(m_thread);
|
||||||
m_thread->start();
|
m_thread->start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue