Merge branch 'fix-qt56-compatibility' of https://github.com/follower/olive into follower-fix-qt56-compatibility

This commit is contained in:
itsmattkc
2019-05-02 21:22:03 +10:00
2 changed files with 3 additions and 2 deletions
+3
View File
@@ -125,7 +125,10 @@ int main(int argc, char *argv[]) {
QCoreApplication::setOrganizationName("olivevideoeditor.org");
QCoreApplication::setOrganizationDomain("olivevideoeditor.org");
QCoreApplication::setApplicationName("Olive");
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
QGuiApplication::setDesktopFileName("org.olivevideoeditor.Olive");
#endif
MainWindow w(nullptr);
-2
View File
@@ -545,8 +545,6 @@ void ViewerWidget::paintGL() {
tex_lock->lock();
makeCurrent();
// clear to solid black
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT);