Merge branch 'master' into footage-viewer-merge
This commit is contained in:
@@ -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 \
|
||||
|
||||
Executable
+15
@@ -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
|
||||
@@ -396,6 +396,8 @@ void SliderBase::RepositionLadder()
|
||||
|
||||
drag_ladder_->move(ladder_x, ladder_y);
|
||||
}
|
||||
|
||||
drag_ladder_->StartListeningToMouseInput();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user