[rekonq] Changing Rekonq's Window Icon

Furkan Üzümcü furkanuzumcu at gmail.com
Thu Jan 6 21:04:18 CET 2011


Hello.
I've been trying this code but it doesn't work!

Application::instance()->setWindowIcon(Application::instance()->mainWindow()->mainView()->tabIcon(index));


and this one

Application::instance()->mainWindow()->setWindowIcon(Application::instance()->mainWindow()->mainView()->tabIcon(index));


and even this one in mainwindow.cpp

setWindowIcon(Application::instance()->mainWindow()->mainView()->tabIcon(index));


They don't work!
I even change this

setWindowIcon(KIcon("rekonq"));


to

 setWindowIcon(KIcon("edit-clear"));


Doesn't work either!
Please help!
I don't have much time left!

----------------------------------------------------------------------------------------------------------------
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/rekonq/attachments/20110106/e7290267/attachment.htm 


More information about the rekonq mailing list