Package: kde-config-systemd / 1.2.1-3

Metadata

Package Version Patches format
kde-config-systemd 1.2.1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0003 SVN_SILENT made messages .desktop file always resolv.patch | (download)

src/helper/kcmsystemd.actions | 16 15 + 1 - 0 !
1 file changed, 15 insertions(+), 1 deletion(-)

 [patch 03/17] svn_silent made messages (.desktop file) - always
 resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

0004 Use single quotes when appending single chars to QSt.patch | (download)

src/confoption.cpp | 44 22 + 22 - 0 !
src/helper/helper.cpp | 2 1 + 1 - 0 !
src/kcmsystemd.cpp | 20 10 + 10 - 0 !
src/unitmodel.cpp | 4 2 + 2 - 0 !
4 files changed, 35 insertions(+), 35 deletions(-)

 [patch 04/17] use single quotes when appending single-chars to
 QStrings etc.

As suggested by Krazy2. It is more efficient to use single-quotes than
double-quotes when appending single-chars to QStrings, etc.

0005 Make constructors explicit where applicable.patch | (download)

src/confdelegate.h | 2 1 + 1 - 0 !
src/confmodel.h | 2 1 + 1 - 0 !
src/confoption.h | 4 2 + 2 - 0 !
src/sortfilterunitmodel.h | 2 1 + 1 - 0 !
src/unitmodel.h | 4 2 + 2 - 0 !
5 files changed, 7 insertions(+), 7 deletions(-)

 [patch 05/17] make constructors explicit where applicable

As suggested by Krazy2.

0006 Use const ref in foreach loops.patch | (download)

src/confoption.cpp | 5 3 + 2 - 0 !
src/confparms.cpp | 6 3 + 3 - 0 !
src/kcmsystemd.cpp | 18 9 + 9 - 0 !
3 files changed, 15 insertions(+), 14 deletions(-)

 [patch 06/17] use const-ref in foreach loops

As suggested by Krazy2.

0007 Include own header files first.patch | (download)

src/confdelegate.cpp | 4 2 + 2 - 0 !
src/confmodel.cpp | 4 2 + 2 - 0 !
src/confoption.cpp | 4 2 + 2 - 0 !
src/confparms.cpp | 6 3 + 3 - 0 !
src/kcmsystemd.cpp | 2 1 + 1 - 0 !
src/unitmodel.cpp | 4 2 + 2 - 0 !
6 files changed, 12 insertions(+), 12 deletions(-)

 [patch 07/17] include own header files first

As suggested by Krazy2.

0008 Add license text to systemdunit.h.patch | (download)

src/systemdunit.h | 17 17 + 0 - 0 !
1 file changed, 17 insertions(+)

 [patch 08/17] add license text to systemdunit.h

As suggested by Krazy2.

0009 Use normalized SIGNAL SLOT signatures.patch | (download)

src/kcmsystemd.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 09/17] use normalized signal/slot signatures

As suggested by Krazy2.

See also:
https://marcmutz.wordpress.com/effective-qt/prefer-to-use-normalised-signalslot-signatures/

0010 Miscellaneous minor fixes QLatin1String usage newlin.patch | (download)

src/kcm-systemd-features.h.cmake | 2 1 + 1 - 0 !
src/kcmsystemd.cpp | 10 7 + 3 - 0 !
2 files changed, 8 insertions(+), 4 deletions(-)

 [patch 10/17] miscellaneous minor fixes (qlatin1string usage,
 newline)

As suggested by Krazy2.

0011 Use QPointer for modal QDialog.patch | (download)

src/kcmsystemd.cpp | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 [patch 11/17] use qpointer for modal qdialog

As suggested by Krazy2.

See also:
https://blogs.kde.org/node/3919

0012 Use single quotes when appending single chars to QSt.patch | (download)

src/confoption.cpp | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 [patch 12/17] use single quotes when appending single-chars to
 QStrings

As suggested by Krazy2.

0013 SVN_SILENT made messages .desktop file always resolv.patch | (download)

src/helper/kcmsystemd.actions | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch 13/17] svn_silent made messages (.desktop file) - always
 resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"