mirror of https://github.com/procxx/kepka.git
Crash fix for inline results clearing. Crash fix for GIF starting.
This commit is contained in:
parent
247b77c784
commit
05697374c5
|
@ -1725,7 +1725,6 @@ void StickerPanInner::refreshSavedGifs() {
|
||||||
void StickerPanInner::inlineBotChanged() {
|
void StickerPanInner::inlineBotChanged() {
|
||||||
_setGifCommand = false;
|
_setGifCommand = false;
|
||||||
refreshInlineRows(nullptr, nullptr, true);
|
refreshInlineRows(nullptr, nullptr, true);
|
||||||
deleteUnusedInlineLayouts();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void StickerPanInner::clearInlineRows(bool resultsDeleted) {
|
void StickerPanInner::clearInlineRows(bool resultsDeleted) {
|
||||||
|
@ -1942,6 +1941,7 @@ int StickerPanInner::refreshInlineRows(UserData *bot, const InlineCacheEntry *en
|
||||||
if (clearResults()) {
|
if (clearResults()) {
|
||||||
if (resultsDeleted) {
|
if (resultsDeleted) {
|
||||||
clearInlineRows(true);
|
clearInlineRows(true);
|
||||||
|
deleteUnusedInlineLayouts();
|
||||||
}
|
}
|
||||||
emit emptyInlineRows();
|
emit emptyInlineRows();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -91,7 +91,7 @@ private:
|
||||||
bool _hadFrame = false;
|
bool _hadFrame = false;
|
||||||
bool _frameRead = false;
|
bool _frameRead = false;
|
||||||
|
|
||||||
int _audioStreamId = 0;
|
int _audioStreamId = -1;
|
||||||
uint64 _playId = 0;
|
uint64 _playId = 0;
|
||||||
int64 _lastReadVideoMs = 0;
|
int64 _lastReadVideoMs = 0;
|
||||||
int64 _lastReadAudioMs = 0;
|
int64 _lastReadAudioMs = 0;
|
||||||
|
|
|
@ -177,29 +177,18 @@ echo .
|
||||||
set "FinalReleasePath=Z:\TBuild\tother\tsetup"
|
set "FinalReleasePath=Z:\TBuild\tother\tsetup"
|
||||||
set "FinalDeployPath=%FinalReleasePath%\%AppVersionStrMajor%\%AppVersionStrFull%"
|
set "FinalDeployPath=%FinalReleasePath%\%AppVersionStrMajor%\%AppVersionStrFull%"
|
||||||
|
|
||||||
echo 1
|
|
||||||
if not exist "%DeployPath%\%UpdateFile%" goto error
|
if not exist "%DeployPath%\%UpdateFile%" goto error
|
||||||
echo 2
|
|
||||||
if not exist "%DeployPath%\%PortableFile%" goto error
|
if not exist "%DeployPath%\%PortableFile%" goto error
|
||||||
echo 3
|
|
||||||
if %BetaVersion% equ 0 (
|
if %BetaVersion% equ 0 (
|
||||||
if not exist "%DeployPath%\%SetupFile%" goto error
|
if not exist "%DeployPath%\%SetupFile%" goto error
|
||||||
)
|
)
|
||||||
echo 4
|
|
||||||
if not exist "%DeployPath%\%BinaryName%.pdb" goto error
|
if not exist "%DeployPath%\%BinaryName%.pdb" goto error
|
||||||
echo 5
|
|
||||||
if not exist "%DeployPath%\%BinaryName%.exe.pdb" goto error
|
if not exist "%DeployPath%\%BinaryName%.exe.pdb" goto error
|
||||||
echo 6
|
|
||||||
if not exist "%DeployPath%\Updater.exe" goto error
|
if not exist "%DeployPath%\Updater.exe" goto error
|
||||||
echo 7
|
|
||||||
if not exist "%DeployPath%\Updater.pdb" goto error
|
if not exist "%DeployPath%\Updater.pdb" goto error
|
||||||
echo 8
|
|
||||||
if not exist "%DeployPath%\Updater.exe.pdb" goto error
|
if not exist "%DeployPath%\Updater.exe.pdb" goto error
|
||||||
echo 9
|
|
||||||
if not exist "%FinalReleasePath%\%AppVersionStrMajor%" mkdir "%FinalReleasePath%\%AppVersionStrMajor%"
|
if not exist "%FinalReleasePath%\%AppVersionStrMajor%" mkdir "%FinalReleasePath%\%AppVersionStrMajor%"
|
||||||
echo 10
|
|
||||||
if not exist "%FinalDeployPath%" mkdir "%FinalDeployPath%"
|
if not exist "%FinalDeployPath%" mkdir "%FinalDeployPath%"
|
||||||
echo 11
|
|
||||||
|
|
||||||
xcopy "%DeployPath%\%UpdateFile%" "%FinalDeployPath%\"
|
xcopy "%DeployPath%\%UpdateFile%" "%FinalDeployPath%\"
|
||||||
xcopy "%DeployPath%\%PortableFile%" "%FinalDeployPath%\"
|
xcopy "%DeployPath%\%PortableFile%" "%FinalDeployPath%\"
|
||||||
|
|
Loading…
Reference in New Issue