improve semantics

pull/2/head
Michail Vourlakos 7 years ago
parent 4ae1c98e55
commit ef48a70bd9

@ -98,7 +98,7 @@ DockCorona::DockCorona(bool defaultLayoutOnStartup, QString layoutNameOnStartUp,
m_docksScreenSyncTimer.setSingleShot(true); m_docksScreenSyncTimer.setSingleShot(true);
m_docksScreenSyncTimer.setInterval(2500); m_docksScreenSyncTimer.setInterval(2500);
connect(&m_docksScreenSyncTimer, &QTimer::timeout, this, &DockCorona::syncDockViews); connect(&m_docksScreenSyncTimer, &QTimer::timeout, this, &DockCorona::syncDockViewsToScreens);
//! Dbus adaptor initialization //! Dbus adaptor initialization
new LatteDockAdaptor(this); new LatteDockAdaptor(this);
@ -583,7 +583,7 @@ void DockCorona::screenCountChanged()
//! the central functions that updates loading/unloading dockviews //! the central functions that updates loading/unloading dockviews
//! concerning screen changed (for multi-screen setups mainly) //! concerning screen changed (for multi-screen setups mainly)
void DockCorona::syncDockViews() void DockCorona::syncDockViewsToScreens()
{ {
qDebug() << "screen count changed -+-+ " << qGuiApp->screens().size(); qDebug() << "screen count changed -+-+ " << qGuiApp->screens().size();

@ -125,7 +125,7 @@ private slots:
void primaryOutputChanged(); void primaryOutputChanged();
void screenRemoved(QScreen *screen); void screenRemoved(QScreen *screen);
void screenCountChanged(); void screenCountChanged();
void syncDockViews(); void syncDockViewsToScreens();
private: private:
void cleanConfig(); void cleanConfig();

Loading…
Cancel
Save