Commit 0f26d4e2 authored by con's avatar con
Browse files

Fix build with Qt 4.5

parent 162c152f
......@@ -466,7 +466,8 @@ int BinEditor::dataIndexOf(const QByteArray &pattern, int from, bool caseSensiti
if (trailing > m_blockSize)
return -1;
QByteArray buffer(m_blockSize + trailing, Qt::Uninitialized);
QByteArray buffer;
buffer.resize(m_blockSize + trailing);
char *b =;
QByteArrayMatcher matcher(pattern);
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