mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: set the style before creating the native widget of Plasma::TextEdit
otherwise the style pointer is null and the native widget (KTextEdit) does not get to experience the nativeness, it has been like since before the fork Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bac4fbc947
commit
c61c158983
1 changed files with 1 additions and 1 deletions
|
@ -52,8 +52,8 @@ TextEdit::TextEdit(QGraphicsWidget *parent)
|
|||
: QGraphicsProxyWidget(parent),
|
||||
d(new TextEditPrivate(this))
|
||||
{
|
||||
setNativeWidget(new KTextEdit());
|
||||
d->style = Plasma::Style::sharedStyle();
|
||||
setNativeWidget(new KTextEdit());
|
||||
d->initTheming();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue