Merge branch 'fix-qt56-compatibility' of https://github.com/follower/olive into follower-fix-qt56-compatibility
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user