refactor: make PortalRemoteDesktop::claimClipboard a const
This commit is contained in:
parent
e800512160
commit
710aae5f3f
2 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ void PortalRemoteDesktop::glibThread(const void *)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PortalRemoteDesktop::claimClipboard()
|
void PortalRemoteDesktop::claimClipboard() const
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBPORTAL_CLIPBOARD
|
#ifdef HAVE_LIBPORTAL_CLIPBOARD
|
||||||
if (!m_session) {
|
if (!m_session) {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ public:
|
||||||
PortalRemoteDesktop(EiScreen *screen, IEventQueue *events);
|
PortalRemoteDesktop(EiScreen *screen, IEventQueue *events);
|
||||||
~PortalRemoteDesktop();
|
~PortalRemoteDesktop();
|
||||||
|
|
||||||
void claimClipboard();
|
void claimClipboard() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void glibThread(const void *);
|
void glibThread(const void *);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue