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

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

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);
}