migel
13th October 2011, 16:22
Hi
I need the icon in DOCK so it works great using
QApplication::setWindowIcon(QIcon());
But this displays the icon on the mainwindow next to the title. Is there a way to get rid of it ?
Thanks
Added after 7 minutes:
Quick fix
in mainwindow constructor
this->setWindowIcon(QIcon());
and use
QApplication::setWindowIcon(DOCKICON);
to draw the dock icon :)
I need the icon in DOCK so it works great using
QApplication::setWindowIcon(QIcon());
But this displays the icon on the mainwindow next to the title. Is there a way to get rid of it ?
Thanks
Added after 7 minutes:
Quick fix
in mainwindow constructor
this->setWindowIcon(QIcon());
and use
QApplication::setWindowIcon(DOCKICON);
to draw the dock icon :)