shared: LimitQueue: Change limit type to int

More consistent with "QQueue::size()" and silences warning
Tá an tiomantas seo le fáil i:
2022-08-28 13:09:51 +02:00
tuismitheoir 238f9add49
tiomantas 31f0568a87
D'athraigh 2 comhad le 4 breiseanna agus 4 scriosta

Féach ar an gComhad

@ -88,7 +88,7 @@ struct Snippet
QString PreviewGeneratorPlainText::generateLineBasedPreviewText(QTextStream &in, RenderConfig config, QString fileName)
{
QVector<Snippet> snippets;
const unsigned int contextLinesCount = 2;
const int contextLinesCount = 2;
LimitQueue<QString> queue(contextLinesCount);
QString currentLine;
currentLine.reserve(512);