Commit 947eacbe authored by Stephane Mankowski's avatar Stephane Mankowski

Remove deprecated functions

parent 259fd5b5
......@@ -59,7 +59,7 @@ SKGDashboardPluginWidget::SKGDashboardPluginWidget(QWidget* iParent, SKGDocument
// Drag and drop
m_clickedPoint = QPoint(-1, -1);
ui.kTitle->setPixmap(SKGServices::fromTheme(KAboutData::applicationData().programIconName()).pixmap(22, 22), KTitleWidget::ImageLeft);
ui.kTitle->setPixmap(QApplication::windowIcon().pixmap(22, 22), KTitleWidget::ImageLeft);
ui.kTitle->setComment("<html><body><b>" % i18nc("Message", "Welcome to %1", KAboutData::applicationData().displayName()) % "</b></body></html>");
// Build menu
......
......@@ -287,8 +287,7 @@ public:
m_kSystemTrayIcon = new KStatusNotifierItem(m_mainPanel);
m_kSystemTrayIcon->setStandardActionsEnabled(true);
m_kSystemTrayIcon->setAssociatedWidget(m_mainPanel);
KAboutData about = KAboutData::applicationData();
m_kSystemTrayIcon->setIconByName(about.programIconName());
m_kSystemTrayIcon->setIconByPixmap(QApplication::windowIcon());
}
} else {
if (m_kSystemTrayIcon != nullptr) {
......
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