A few small changes, correct dialog title, change memory preallocation, explain file IO a bit.

This commit is contained in:
Collin Kidder
2016-12-13 22:35:29 -05:00
parent b7a1afcd8f
commit 8f12802657
3 changed files with 11 additions and 5 deletions
+2 -2
View File
@@ -47,12 +47,12 @@ CANFrameModel::CANFrameModel(QObject *parent)
if (QSysInfo::WordSize > 32)
{
qDebug() << "64 bit OS detected. Requesting a large preallocation";
preallocSize = 50000000;
preallocSize = 20000000;
}
else //if compiling for 32 bit you can't ask for gigabytes of preallocation so tone it down.
{
qDebug() << "32 bit OS detected. Requesting a much restricted prealloc";
preallocSize = 5000000;
preallocSize = 4000000;
}
frames.reserve(preallocSize);