Commit b3a19539 authored by Jonathan Riddell's avatar Jonathan Riddell 🏄

Replace setProgramIconName with setWindowIcon

Replace deprecated KAboutData::setProgramIconName with Qt method
QApplication::setWindowIcon
parent 4b0b4bbb
......@@ -541,7 +541,6 @@ extern "C" Q_DECL_EXPORT int kdemain( int argc, char** argv )
"Parts derived (by permission) from the sunos5\n"
"module of William LeFebvre's \"top\" utility." ),
"tk@Genetik.Uni-Bielefeld.DE" );
aboutData.setProgramIconName("utilities-system-monitor");
KCmdLineArgs::init( argc, argv, &aboutData );
......@@ -550,6 +549,7 @@ extern "C" Q_DECL_EXPORT int kdemain( int argc, char** argv )
KCmdLineArgs::addCmdLineOptions( options );
// initialize KDE application
KApplication *app = new KApplication;
app->setWindowIcon(QIcon::fromTheme("utilities-system-monitor"));
KSGRD::SensorMgr = new KSGRD::SensorManager();
KSGRD::Style = new KSGRD::StyleEngine();
......
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