Merge branch 'master' into footage-viewer-merge

This commit is contained in:
itsmattkc
2021-04-08 09:49:57 +10:00
6 changed files with 29 additions and 10 deletions
+3
View File
@@ -83,6 +83,9 @@ jobs:
# Create install tree
cmake --install app --prefix appdir/usr
# Inject custom AppRun (linuxdeployqt won't replace if it already exists)
cp $GITHUB_WORKSPACE/app/packaging/linux/AppRun appdir
# Process AppDir
/usr/local/linuxdeployqt-x86_64.AppImage \
appdir/usr/share/applications/org.olivevideoeditor.Olive.desktop \
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Custom AppRun that ensures the AppImage doesn't dismount before olive-crashhandler exits
# Run main program
$APPDIR/usr/bin/olive-editor
# Wait arbitrary amount of time
sleep 5
# While olive-crashhandler exists, keep sleeping
while [[ $(ps -aux | grep olive-crashhandler | grep -v grep) ]]
do
sleep 5
done
+2
View File
@@ -396,6 +396,8 @@ void SliderBase::RepositionLadder()
drag_ladder_->move(ladder_x, ladder_y);
}
drag_ladder_->StartListeningToMouseInput();
}
}
+7 -7
View File
@@ -113,6 +113,11 @@ void SliderLadder::SetValue(const QString &s)
}
}
void SliderLadder::StartListeningToMouseInput()
{
drag_timer_.start();
}
void SliderLadder::mouseReleaseEvent(QMouseEvent *event)
{
Q_UNUSED(event)
@@ -120,13 +125,6 @@ void SliderLadder::mouseReleaseEvent(QMouseEvent *event)
this->close();
}
void SliderLadder::showEvent(QShowEvent *event)
{
QWidget::showEvent(event);
drag_timer_.start();
}
void SliderLadder::closeEvent(QCloseEvent *event)
{
Q_UNUSED(event)
@@ -134,6 +132,8 @@ void SliderLadder::closeEvent(QCloseEvent *event)
drag_timer_.stop();
emit Released();
QFrame::closeEvent(event);
}
void SliderLadder::TimerUpdate()
+2 -2
View File
@@ -70,11 +70,11 @@ public:
void SetValue(const QString& s);
void StartListeningToMouseInput();
protected:
virtual void mouseReleaseEvent(QMouseEvent *event) override;
virtual void showEvent(QShowEvent *event) override;
virtual void closeEvent(QCloseEvent* event) override;
signals:
-1
View File
@@ -22,7 +22,6 @@ libQt5Pdf.so,\
libQt5Qml.so,\
libQt5QmlModels.so,\
libQt5Quick.so,\
libQt5Svg.so,\
libQt5VirtualKeyboard.so \
-bundle-non-qt-libs \
-executable=appdir/usr/bin/crashpad_handler \