SVN_SILENT

Nicer way to set the appliaction icon.

svn path=/trunk/KDE/kdebase/apps/; revision=750637
This commit is contained in:
Urs Wolfer 2007-12-19 19:45:41 +00:00
parent 6e2f736fb6
commit 25d9e21933

View file

@ -84,10 +84,6 @@ KWrite::KWrite (KTextEditor::Document *doc)
m_view = qobject_cast<KTextEditor::View*>(doc->createView (this));
// WORKAROUND: both lines are required; 1st one for about dialog and 2nd one for window
QApplication::setWindowIcon(KIcon("accessories-text-editor"));
setWindowIcon(KIcon("accessories-text-editor"));
setCentralWidget(m_view);
setupActions();
@ -678,6 +674,8 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
KApplication a;
QApplication::setWindowIcon(KIcon("accessories-text-editor"));
KGlobal::locale()->insertCatalog("katepart4");
#if 0
DCOPClient *client = kapp->dcopClient();