diff --git a/sheets/part/CanvasItem.cpp b/sheets/part/CanvasItem.cpp --- a/sheets/part/CanvasItem.cpp +++ b/sheets/part/CanvasItem.cpp @@ -136,7 +136,6 @@ , d(new Private) { setAttribute(Qt::WA_OpaquePaintEvent); - setAttribute(Qt::WA_StaticContents); //setBackgroundRole(QPalette::Base); QGraphicsWidget::setFocusPolicy(Qt::StrongFocus); @@ -146,7 +145,6 @@ installEventFilter(this); // for TAB key processing, otherwise focus change setAcceptDrops(true); - setAttribute(Qt::WA_InputMethodEnabled, true); // ensure using the InputMethod d->doc = doc; d->rowHeader = 0; diff --git a/sheets/part/HeaderItems.cpp b/sheets/part/HeaderItems.cpp --- a/sheets/part/HeaderItems.cpp +++ b/sheets/part/HeaderItems.cpp @@ -91,8 +91,6 @@ RowHeaderItem::RowHeaderItem(QGraphicsItem *_parent, CanvasItem *_canvas) : QGraphicsWidget(_parent), RowHeader(_canvas) { - setAttribute(Qt::WA_StaticContents); - //setMouseTracking(true); setAcceptHoverEvents(true); @@ -253,8 +251,6 @@ ColumnHeaderItem::ColumnHeaderItem(QGraphicsItem *_parent, CanvasItem *_canvas) : QGraphicsWidget(_parent), ColumnHeader(_canvas) { - setAttribute(Qt::WA_StaticContents); - //setMouseTracking(true); setAcceptHoverEvents(true); diff --git a/words/part/KWCanvasItem.cpp b/words/part/KWCanvasItem.cpp --- a/words/part/KWCanvasItem.cpp +++ b/words/part/KWCanvasItem.cpp @@ -49,7 +49,6 @@ KWCanvasBase(document, this) { setAttribute(Qt::WA_OpaquePaintEvent, true); - setAttribute(Qt::WA_InputMethodEnabled, true); setFocusPolicy(Qt::StrongFocus); connect(document, SIGNAL(pageSetupChanged()), this, SLOT(pageSetupChanged())); m_viewConverter = new KoZoomHandler();