diff --git a/plugins/Git/libgit.cpp b/plugins/Git/libgit.cpp index 9cb13bb..2af3bc0 100644 --- a/plugins/Git/libgit.cpp +++ b/plugins/Git/libgit.cpp @@ -27,7 +27,7 @@ void LibGit::setMode(mode_type type) } int LibGit::credentialsCB(git_cred **out, const char *url, const char *username_from_url, - unsigned int allowed_types, void *payload) + unsigned int allowed_types, void *payload) { // TODO : More precise Error Handling for UI auto instance = LibGit::instance(); diff --git a/plugins/Git/libgit.h b/plugins/Git/libgit.h index 815b3b7..d004ce0 100644 --- a/plugins/Git/libgit.h +++ b/plugins/Git/libgit.h @@ -27,7 +27,7 @@ private: mode_type mode; static int credentialsCB(git_cred **out, const char *url, const char *username_from_url, - unsigned int allowed_types, void *payload); + unsigned int allowed_types, void *payload); public: ~LibGit(); diff --git a/plugins/Pass/passkeymodel.h b/plugins/Pass/passkeymodel.h index c739af3..9d5fa9d 100644 --- a/plugins/Pass/passkeymodel.h +++ b/plugins/Pass/passkeymodel.h @@ -19,7 +19,7 @@ public: UserIdModel(UserID key): m_user_id(key) - {}; + {}; QString uid() const { diff --git a/qml/Main.qml b/qml/Main.qml index da6451a..6e48640 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -21,10 +21,10 @@ MainView { //TODO use parameters to impove passphrase dialog var passphraseDialog = PopupUtils.open(Qt.resolvedUrl("dialogs/PassphraseDialog.qml")); passphraseDialog.activateFocus(); - var validated = function (passphrase) { + var validated = function validated(passphrase) { responsePassphraseDialog(false, passphrase); }; - var canceled = function () { + var canceled = function canceled() { responsePassphraseDialog(true, ""); }; passphraseDialog.validated.connect(validated); diff --git a/qml/pages/Info.qml b/qml/pages/Info.qml index 8e5e29f..35dd756 100644 --- a/qml/pages/Info.qml +++ b/qml/pages/Info.qml @@ -95,6 +95,7 @@ Page { font.pixelSize: 72 color: theme.palette.normal.backgroundText } + } Flow { diff --git a/qml/pages/settings/InfoKeys.qml b/qml/pages/settings/InfoKeys.qml index 34fbcfa..b852d29 100644 --- a/qml/pages/settings/InfoKeys.qml +++ b/qml/pages/settings/InfoKeys.qml @@ -48,7 +48,6 @@ Page { color: theme.palette.normal.backgroundText } - Rectangle { width: parent.width height: units.gu(1) @@ -59,8 +58,10 @@ Page { id: userIdsModel Component.onCompleted: { - for(var i=0; i< model.modelData.userIds.length; ++i){ - userIdsModel.append({"model": model.modelData.userIds[i]}) + for (var i = 0; i < model.modelData.userIds.length; ++i) { + userIdsModel.append({ + "model": model.modelData.userIds[i] + }); } } } @@ -75,6 +76,7 @@ Page { Repeater { model: userIdsModel + Text { width: parent.width horizontalAlignment: Text.AlignHCenter @@ -82,6 +84,7 @@ Page { text: modelData.uid color: theme.palette.normal.backgroundText } + } Rectangle { @@ -106,7 +109,9 @@ Page { height: units.gu(1) color: theme.palette.normal.background } + } + } Component {