src: fix compiler warnings

This commit is contained in:
selsta 2019-07-16 03:34:46 +02:00
parent 4370733b2b
commit e04d563eb4
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ public:
} }
auto tmpPass = m_mgr->m_passphrase.toStdString(); auto tmpPass = m_mgr->m_passphrase.toStdString();
m_mgr->m_passphrase = QString::null; m_mgr->m_passphrase = QString();
return Monero::optional<std::string>(tmpPass); return Monero::optional<std::string>(tmpPass);
} }

View file

@ -99,8 +99,8 @@ bool IPC::saveCommand(QString cmdString){
return true; return true;
} }
bool IPC::saveCommand(const QUrl &url){; bool IPC::saveCommand(const QUrl &url){
this->saveCommand(url.toString()); return this->saveCommand(url.toString());
} }
void IPC::handleConnection(){ void IPC::handleConnection(){