mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-20 04:34:29 -04:00
Merge branch 'master'
Conflicts: INSTALL.md release-tool src/browser/BrowserOptionDialog.cpp src/browser/BrowserService.cpp src/browser/BrowserService.h src/browser/NativeMessagingBase.h src/browser/NativeMessagingHost.h src/core/Uuid.cpp src/gui/DatabaseTabWidget.cpp src/gui/DatabaseWidget.cpp src/gui/EditWidget.cpp src/gui/MainWindow.cpp src/gui/MainWindow.ui src/proxy/NativeMessagingHost.h src/sshagent/ASN1Key.cpp
This commit is contained in:
commit
ca27fb06d5
52 changed files with 5657 additions and 1106 deletions
|
@ -116,10 +116,10 @@ void NativeMessagingHost::readLength()
|
|||
}
|
||||
}
|
||||
|
||||
void NativeMessagingHost::readStdIn(const quint32 length)
|
||||
bool NativeMessagingHost::readStdIn(const quint32 length)
|
||||
{
|
||||
if (length <= 0) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
QByteArray arr;
|
||||
|
@ -131,7 +131,7 @@ void NativeMessagingHost::readStdIn(const quint32 length)
|
|||
int c = std::getchar();
|
||||
if (c == EOF) {
|
||||
// message ended prematurely, ignore it and return
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
arr.append(static_cast<char>(c));
|
||||
}
|
||||
|
@ -139,6 +139,7 @@ void NativeMessagingHost::readStdIn(const quint32 length)
|
|||
if (arr.length() > 0) {
|
||||
sendReply(m_browserClients.readResponse(arr));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void NativeMessagingHost::newLocalConnection()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue