Commit 04c2022f authored by Laurent Montel's avatar Laurent Montel 😁

Assign directly parent

parent 52e9ed2c
......@@ -96,13 +96,12 @@ FilterAction::ReturnCode FilterActionDecrypt::process(ItemContext &context, bool
QWidget *FilterActionDecrypt::createParamWidget(QWidget *parent) const
auto w = new QWidget(parent);
auto l = new QVBoxLayout;
QWidget *w = new QWidget(parent);
QVBoxLayout *l = new QVBoxLayout(w);
auto lbl = new QLabel(w);
QLabel *lbl = new QLabel(w);
auto palette = lbl->palette();
QPalette palette = lbl->palette();
palette.setColor(lbl->foregroundRole(), KColorScheme(QPalette::Normal).foreground(KColorScheme::NegativeText).color());
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