Update window info

pull/7/head
cutefishd 5 years ago
parent f9440e05b9
commit bb38440b71

@ -36,8 +36,8 @@ Activity::Activity(QObject *parent)
onActiveWindowChanged();
connect(KWindowSystem::self(), &KWindowSystem::activeWindowChanged, this, &Activity::onActiveWindowChanged);
// connect(KWindowSystem::self(), static_cast<void (KWindowSystem::*)(WId)>(&KWindowSystem::windowChanged),
// this, &Activity::onActiveWindowChanged);
connect(KWindowSystem::self(), static_cast<void (KWindowSystem::*)(WId)>(&KWindowSystem::windowChanged),
this, &Activity::onActiveWindowChanged);
}
QString Activity::title() const

Loading…
Cancel
Save