Browse Source

Update chatmodel.cpp

hushchat
Denio 4 years ago
committed by GitHub
parent
commit
af4a555fb0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/chatmodel.cpp

4
src/chatmodel.cpp

@ -545,8 +545,8 @@ Tx MainWindow::createTxFromChatPage() {
////QString to char+ (not working, it will not decrypt)
/*char *memoIncoming = NULL;
memoIncoming = new char[lenght1+1];
strncpy(memoIncoming, memo.toLocal8Bit(), lenght1+1);*/
memoIncoming = new char[memo.length()+1];
strncpy(memoIncoming, memo.toLocal8Bit(), [memo.length()+1);*/
///////////////////////////if we take the std::string (of the encryption output) instead of QString memo, it will decrypt////////

Loading…
Cancel
Save