[qt] remove unused parameter from getWarnings()

This commit is contained in:
John Newbery committed 2019-12-15 13:23:30 -03:00
1 parent a595011f5a
commit 869b6314fd
4 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -135,7 +135,7 @@ BitcoinCore::BitcoinCore(interfaces::Node& node) :
void BitcoinCore::handleRunawayException(const std::exception *e)
{
PrintExceptionContinue(e, "Runaway exception");
Q_EMIT runawayException(QString::fromStdString(m_node.getWarnings("gui")));
Q_EMIT runawayException(QString::fromStdString(m_node.getWarnings()));
}
void BitcoinCore::initialize()
@@ -589,10 +589,10 @@ int GuiMain(int argc, char* argv[])
}
} catch (const std::exception& e) {
PrintExceptionContinue(&e, "Runaway exception");
app.handleRunawayException(QString::fromStdString(node->getWarnings("gui")));
app.handleRunawayException(QString::fromStdString(node->getWarnings()));
} catch (...) {
PrintExceptionContinue(nullptr, "Runaway exception");
app.handleRunawayException(QString::fromStdString(node->getWarnings("gui")));
app.handleRunawayException(QString::fromStdString(node->getWarnings()));
}
return rv;
}
+1 -1
View File
@@ -134,7 +134,7 @@ enum BlockSource ClientModel::getBlockSource() const
QString ClientModel::getStatusBarWarnings() const
{
return QString::fromStdString(m_node.getWarnings("gui"));
return QString::fromStdString(m_node.getWarnings());
}
OptionsModel *ClientModel::getOptionsModel()