diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-29 21:04:52 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-30 23:52:42 +0200 |
| commit | 482a75fef9643220366029862dbf636a88bccb82 (patch) | |
| tree | 8f53ca9c52d3943ca7283e2cbfe5f201a73a88bb /examples/widgets/tools/undoframework/mainwindow.cpp | |
| parent | e2b303124f8d460ec091b7c4caa0c37391bc245a (diff) | |
QStandardPaths/Unix: minor cleanup
- Better readability by returning early
- Make a QRegularExpression static const so that the regex pattern is
compiled only once
Change-Id: Ic0d6bd4b068624c4ff60c6e71d09f20393adaa64
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets/tools/undoframework/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
