Commit 0852d411 authored by Dominik Haumann's avatar Dominik Haumann

KWrite: use proper document close icon

CCBUG: 362447
parent 72cb3b9c
......@@ -148,6 +148,7 @@ QSize KWrite::sizeHint () const
void KWrite::setupActions()
{
m_closeAction = actionCollection()->addAction(KStandardAction::Close, QStringLiteral("file_close"), this, SLOT(slotFlush()));
m_closeAction->setIcon(QIcon::fromTheme(QStringLiteral("document-close")));
m_closeAction->setWhatsThis(i18n("Use this command to close the current document"));
m_closeAction->setDisabled(true);
......
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