Skip to content

Commit

Permalink
examples: fix openglwidget renderer crash. wang-bin#360
Browse files Browse the repository at this point in the history
follow the suggestion from warnings. setting
AA_DontCreateNativeWidgetSiblings works
  • Loading branch information
wang-bin committed Sep 25, 2015
1 parent 3733394 commit 8f885c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/player/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ int main(int argc, char *argv[])
{
qDebug() << aboutQtAV_PlainText();
QApplication a(argc, argv);
a.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
qDebug() <<a.arguments();
a.setApplicationName(QString::fromLatin1("Player"));
// a.setApplicationDisplayName(QString::fromLatin1("QtAV Player"));
Expand Down

0 comments on commit 8f885c2

Please sign in to comment.