Skip to content

Commit

Permalink
Merge branch 'master'
Browse files Browse the repository at this point in the history
Conflicts:
	localization/localization_ar_MA.ts
	localization/localization_cs_CZ.ts
	localization/localization_de_DE.ts
	localization/localization_de_LU.ts
	localization/localization_el_GR.ts
	localization/localization_en_GB.ts
	localization/localization_en_US.ts
	localization/localization_es_ES.ts
	localization/localization_fr_BE.ts
	localization/localization_fr_FR.ts
	localization/localization_fr_LU.ts
	localization/localization_gl_ES.ts
	localization/localization_he_IL.ts
	localization/localization_hu_HU.ts
	localization/localization_it_IT.ts
	localization/localization_lb_LU.ts
	localization/localization_nl_BE.ts
	localization/localization_nl_NL.ts
	localization/localization_pl_PL.ts
	localization/localization_ru_RU.ts
	localization/localization_sv_SE.ts
	localization/localization_zh_CN.ts
	mainwindow.cpp
	realpass.h
  • Loading branch information
Janosch Knack committed Dec 14, 2016
2 parents 881a11b + 641598e commit 8a0cba9
Show file tree
Hide file tree
Showing 27 changed files with 1,434 additions and 1,827 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

**Merged pull requests:**

- this if evaluetes ervery time to true [\#255](https://github.com/IJHack/QtPass/pull/255) ([YoshiMan](https://github.com/YoshiMan))
- executeing pass show before editpassword dialog shows up [\#254](https://github.com/IJHack/QtPass/pull/254) ([YoshiMan](https://github.com/YoshiMan))
- Minor fix for file names and git push [\#251](https://github.com/IJHack/QtPass/pull/251) ([tezeb](https://github.com/tezeb))
- Process management refactoring part 2 [\#249](https://github.com/IJHack/QtPass/pull/249) ([tezeb](https://github.com/tezeb))

Expand Down
4 changes: 2 additions & 2 deletions executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ int Executor::executeBlocking(QString app, const QStringList &args,
QTextCodec *codec = QTextCodec::codecForLocale();
QString pout = codec->toUnicode(internal.readAllStandardOutput());
QString perr = codec->toUnicode(internal.readAllStandardError());
if (process_out != nullptr)
if (process_out != Q_NULLPTR)
*process_out = pout;
if (process_err != nullptr)
if (process_err != Q_NULLPTR)
*process_err = perr;
emit finished(internal.exitCode(), pout, perr);
return internal.exitCode();
Expand Down
7 changes: 4 additions & 3 deletions executor.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ class Executor : public QObject {
bool readStdout = false, bool readStderr = true);

int executeBlocking(QString app, const QStringList &args,
QString input = QString(), QString *process_out = nullptr,
QString *process_err = nullptr);
QString input = QString(),
QString *process_out = Q_NULLPTR,
QString *process_err = Q_NULLPTR);

int executeBlocking(QString app, const QStringList &args,
QString *process_out, QString *process_err = nullptr);
QString *process_out, QString *process_err = Q_NULLPTR);

void setEnvironment(const QStringList &env);
private slots:
Expand Down
3 changes: 1 addition & 2 deletions imitatepass.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "imitatepass.h"
#include "debughelper.h"
#include "mainwindow.h"
#include "qtpasssettings.h"

/**
Expand Down Expand Up @@ -212,7 +211,7 @@ bool ImitatePass::removeDir(const QString &dirName) {
}

/**
* @brief MainWindow::reencryptPath reencrypt all files under the chosen
* @brief ImitatePass::reencryptPath reencrypt all files under the chosen
* directory
*
* This is stil quite experimental..
Expand Down
145 changes: 66 additions & 79 deletions localization/localization_ar_MA.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_cs_CZ.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_de_DE.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_de_LU.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_el_GR.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_en_GB.ts

Large diffs are not rendered by default.

147 changes: 67 additions & 80 deletions localization/localization_en_US.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_es_ES.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_fr_BE.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_fr_FR.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_fr_LU.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_gl_ES.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_he_IL.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_hu_HU.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_it_IT.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_lb_LU.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_nl_BE.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_nl_NL.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_pl_PL.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_ru_RU.ts

Large diffs are not rendered by default.

145 changes: 66 additions & 79 deletions localization/localization_sv_SE.ts

Large diffs are not rendered by default.

150 changes: 63 additions & 87 deletions localization/localization_zh_CN.ts

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ void MainWindow::processErrorExit(const QString &p_error) {
void MainWindow::clearClipboard() {
QClipboard *clipboard = QApplication::clipboard();
QString clippedText = clipboard->text();
if (clippedText == clippedText) {
if (clippedText == this->clippedText) {
clipboard->clear();
ui->statusBar->showMessage(tr("Clipboard cleared"), 2000);
} else {
Expand Down Expand Up @@ -920,6 +920,7 @@ QModelIndex MainWindow::firstFile(QModelIndex parentIndex) {
* @param isNew insert (not update)
*/
void MainWindow::setPassword(QString file, bool overwrite, bool isNew = false) {
pass->Show_b(file);
if (!isNew && lastDecrypt.isEmpty()) {
// warn?
return;
Expand Down

0 comments on commit 8a0cba9

Please sign in to comment.