git-svn-id: svn://db.shs.com.ru/libs@555 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -24,12 +24,14 @@ bool QGLViewPlugin::isInitialized() const {
|
||||
|
||||
|
||||
QWidget * QGLViewPlugin::createWidget(QWidget * parent) {
|
||||
return new GLWidget(parent);
|
||||
GLWidget * w = new GLWidget(parent);
|
||||
//if (m_initialized) w->start();
|
||||
return w;
|
||||
}
|
||||
|
||||
|
||||
QString QGLViewPlugin::name() const {
|
||||
return QLatin1String("QGLView");
|
||||
return QLatin1String("GLWidget");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user