mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
initialize timer before wayland connection
This commit is contained in:
parent
bdb041f905
commit
410c1123d1
1 changed files with 1 additions and 1 deletions
|
|
@ -41,11 +41,11 @@ TaskPanel::TaskPanel(QObject *parent, const QVariantList &args)
|
||||||
, m_windowManagement(nullptr)
|
, m_windowManagement(nullptr)
|
||||||
{
|
{
|
||||||
setHasConfigurationInterface(true);
|
setHasConfigurationInterface(true);
|
||||||
initWayland();
|
|
||||||
m_activeTimer = new QTimer(this);
|
m_activeTimer = new QTimer(this);
|
||||||
m_activeTimer->setSingleShot(true);
|
m_activeTimer->setSingleShot(true);
|
||||||
m_activeTimer->setInterval(250);
|
m_activeTimer->setInterval(250);
|
||||||
connect(m_activeTimer, &QTimer::timeout, this, &TaskPanel::updateActiveWindow);
|
connect(m_activeTimer, &QTimer::timeout, this, &TaskPanel::updateActiveWindow);
|
||||||
|
initWayland();
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskPanel::~TaskPanel()
|
TaskPanel::~TaskPanel()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue