Feature : Clip command using native programs. (#792)

* Adding a timeout option
* Using native apps.
* Renaming PasswordInput -> Utils
This commit is contained in:
louib authored and GitHub committed 2017-07-22 19:40:30 -04:00
1 parent 90468e8095
commit 1edabc4b3c
7 files changed
+105 -28

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@
#include <QTimer>
#include <QXmlStreamReader>
#include "cli/PasswordInput.h"
#include "cli/Utils.h"
#include "core/Group.h"
#include "core/Metadata.h"
#include "crypto/Random.h"
@@ -404,7 +404,7 @@ Database* Database::unlockFromStdin(QString databaseFilename)
outputTextStream << QString("Insert password to unlock " + databaseFilename + "\n> ");
outputTextStream.flush();
QString line = PasswordInput::getPassword();
QString line = Utils::getPassword();
CompositeKey key = CompositeKey::readFromLine(line);
return Database::openDatabaseFile(databaseFilename, key);
}