1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-11 13:18:13 +03:00

semantic improvements

This commit is contained in:
Michail Vourlakos 2017-02-27 22:52:22 +02:00
parent 2385e593d2
commit 52c8673aad
2 changed files with 3 additions and 3 deletions

View File

@ -274,10 +274,10 @@ void DockCorona::screenRemoved(QScreen *screen)
void DockCorona::screenCountChanged()
{
QTimer::singleShot(2500, this, &DockCorona::screenCountChangedTimer);
QTimer::singleShot(2500, this, &DockCorona::syncDockViews);
}
void DockCorona::screenCountChangedTimer()
void DockCorona::syncDockViews()
{
qDebug() << "screen count changed -+-+ " << qGuiApp->screens().size();

View File

@ -86,7 +86,7 @@ private slots:
void primaryOutputChanged();
void screenRemoved(QScreen *screen);
void screenCountChanged();
void screenCountChangedTimer();
void syncDockViews();
private:
bool appletExists(uint containmentId, uint appletId) const;