Commit 2a3aa10e authored by hjk's avatar hjk
Browse files

BinEditor: Replace hard assert with soft



Change-Id: I1f23945b9d24f941a309fea5bdf4f84723c9c953
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 62520c71
......@@ -164,7 +164,7 @@ void BinEditor::init()
void BinEditor::addData(quint64 block, const QByteArray &data)
{
Q_ASSERT(data.size() == m_blockSize);
QTC_ASSERT(data.size() == m_blockSize, return);
const quint64 addr = block * m_blockSize;
if (addr >= m_baseAddr && addr <= m_baseAddr + m_size - 1) {
if (m_data.size() * m_blockSize >= 64 * 1024 * 1024)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment