pull/27/head
f4exb 2017-05-05 09:30:45 +02:00
rodzic 7dbaa01256
commit 3fff41ce70
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -113,7 +113,9 @@ void FileSourceThread::setBuffer(std::size_t chunksize)
else
{
qDebug() << "FileSourceThread::setBuffer: Re-allocate buffer";
quint8 *buf = m_buf;
m_buf = (quint8*) realloc((void*) m_buf, m_bufsize);
if (!m_buf) free(buf);
}
qDebug() << "FileSourceThread::setBuffer: size: " << m_bufsize

Wyświetl plik

@ -388,7 +388,7 @@ void MainWindow::loadSettings()
for(int i = 0; i < m_settings.getPresetCount(); ++i)
{
addPresetToTree(m_settings.getPreset(i));
ui->presetTree->setCurrentItem(addPresetToTree(m_settings.getPreset(i)));
}
}