I have added 2 new options for Image Box and Image Input Box in KDialog because I did not find any.
Here is how they look.
dfaure |
KDialog |
I have added 2 new options for Image Box and Image Input Box in KDialog because I did not find any.
Here is how they look.
Lint Skipped |
Unit Tests Skipped |
Thanks for the patch, just a few adjustments needed.
src/widgets.cpp | ||
---|---|---|
153 | It's leaked. Don't use new, create it on the stack. Well, you don't even need QImage in the first place. label->setPixmap(QPixmap(file)); | |
156 | you already did that on line 138, you can remove this one | |
173 | if (!text.isEmpty()) | |
183 | same as above | |
193 | already done on line 169, remove. |