From eed36a1282aa8888dea6ef7d87d4e7f21109fe2f Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 31 Jan 2022 01:14:25 +0000 Subject: [PATCH] okular: adjust to Katie changes Signed-off-by: Ivailo Monev --- okular/shell/okular_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okular/shell/okular_main.cpp b/okular/shell/okular_main.cpp index 2f912ba4..b8347579 100644 --- a/okular/shell/okular_main.cpp +++ b/okular/shell/okular_main.cpp @@ -91,7 +91,7 @@ static bool attachExistingInstance(const QStringList &paths, const QString &seri return false; const size_t bufSize = 1024*1024; - QScopedPointer > buf( new char[bufSize] ); + QByteArray buf( bufSize, Qt::Uninitialized ); size_t bytes; do { -- 2.11.0