Commit fe971b9e authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Use consistently emit keyword

GIT_SILENT
parent 45b6f97c
......@@ -750,7 +750,7 @@ void KrColorCache::refreshColors()
m_impl->m_cachedColors.clear();
m_impl->m_colorSettings = KrColorSettings();
QPixmapCache::clear(); // dimmed icons are cached
Q_EMIT colorsRefreshed();
emit colorsRefreshed();
}
void KrColorCache::setColors(const KrColorSettings & colorSettings)
......@@ -758,6 +758,6 @@ void KrColorCache::setColors(const KrColorSettings & colorSettings)
m_impl->m_cachedColors.clear();
m_impl->m_colorSettings = colorSettings;
QPixmapCache::clear(); // dimmed icons are cached
Q_EMIT colorsRefreshed();
emit colorsRefreshed();
}
......@@ -155,7 +155,7 @@ ListPanel* PanelManager::createPanel(const KConfigGroup& cfg)
void PanelManager::connectPanel(ListPanel *p)
{
connect(p, &ListPanel::activate, this, &PanelManager::activate);
connect(p, &ListPanel::pathChanged, this, [=]() { Q_EMIT pathChanged(p); });
connect(p, &ListPanel::pathChanged, this, [=]() { emit pathChanged(p); });
connect(p, &ListPanel::pathChanged, this, [=]() { _tabbar->updateTab(p); });
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment