Fixed Github CI build.

This commit is contained in:
23rd 2021-08-12 02:41:31 +03:00 committed by John Preston
parent 4452edcaad
commit ea3191badf
3 changed files with 4 additions and 3 deletions

View file

@ -449,10 +449,11 @@ jobs:
git clone git://code.qt.io/qt/qt5.git qt_$QT git clone git://code.qt.io/qt/qt5.git qt_$QT
cd qt_$QT cd qt_$QT
perl init-repository --module-subset=qtbase,qtimageformats perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
git checkout v5.15.2 git checkout v5.15.2
git submodule update qtbase git submodule update qtbase
git submodule update qtimageformats git submodule update qtimageformats
git submodule update qtsvg
cd qtbase cd qtbase
find ../../patches/qtbase_$QT -type f -print0 | sort -z | xargs -0 git apply find ../../patches/qtbase_$QT -type f -print0 | sort -z | xargs -0 git apply
cd .. cd ..

View file

@ -343,10 +343,11 @@ jobs:
run: | run: |
git clone git://code.qt.io/qt/qt5.git qt_%QT% git clone git://code.qt.io/qt/qt5.git qt_%QT%
cd qt_%QT% cd qt_%QT%
perl init-repository --module-subset=qtbase,qtimageformats perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
git checkout v%QT_VER% git checkout v%QT_VER%
git submodule update qtbase git submodule update qtbase
git submodule update qtimageformats git submodule update qtimageformats
git submodule update qtsvg
cd qtbase cd qtbase
for /r %%i in (..\..\patches\qtbase_%QT%\*) do git apply %%i for /r %%i in (..\..\patches\qtbase_%QT%\*) do git apply %%i
cd .. cd ..

View file

@ -557,7 +557,6 @@ void RepliesWidget::chooseAttach() {
} }
if (!result.remoteContent.isEmpty()) { if (!result.remoteContent.isEmpty()) {
auto animated = false;
auto read = Images::Read({ auto read = Images::Read({
.content = result.remoteContent, .content = result.remoteContent,
}); });