Index: debugger/QT/SkCanvasWidget.cpp |
diff --git a/debugger/QT/SkCanvasWidget.cpp b/debugger/QT/SkCanvasWidget.cpp |
index 9d691cd35acba891e921072fb2c7d21f472d129b..49b15265313dee190e20dce1ef00b026444cacd9 100644 |
--- a/debugger/QT/SkCanvasWidget.cpp |
+++ b/debugger/QT/SkCanvasWidget.cpp |
@@ -42,7 +42,9 @@ SkCanvasWidget::SkCanvasWidget(QWidget* parent, |
setWidgetVisibility(kGPU_WidgetType, true); |
#endif |
connect(&fRasterWidget, SIGNAL(drawComplete()), this->parentWidget(), SLOT(drawComplete())); |
+#if SK_SUPPORT_GPU |
connect(&fGLWidget, SIGNAL(drawComplete()), this->parentWidget(), SLOT(drawComplete())); |
+#endif |
} |
SkCanvasWidget::~SkCanvasWidget() {} |