Details
- Reviewers
mart - Group Reviewers
Plasma - Commits
- R119:20bbf2366ae5: kfontinst: Port to QDialog
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Other than that it looks quite good, interesting how much code gets cleaned up.
kcms/kfontinst/apps/Printer.cpp | ||
---|---|---|
349 | Pass this as the last argument, so it has a parent and doesn't leak. On this one and the rest of new QDialogButtonBox. | |
350 | Use new syntax. &QDialog::rejected and &CPrinter::slotCancelClicked | |
kcms/kfontinst/kcmfontinst/DuplicatesDialog.cpp | ||
76 | use new syntax as well. |
kcms/kfontinst/apps/Printer.cpp | ||
---|---|---|
349 | There is no need to set a parent in the constructor. QLayout::addWidget() will do it later. |
kcms/kfontinst/apps/Printer.cpp | ||
---|---|---|
349 | From the Qt documentation ( https://doc.qt.io/qt-5/layout.html ): |
kcms/kfontinst/apps/Printer.cpp | ||
---|---|---|
349 | yep, that's correct, or alternatively to make it clearer, it works also the form |