Chromium Code Reviews| Index: debugger/QT/SkDebuggerGUI.cpp |
| diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp |
| index fad5c0cd554b37fa4b071d56922201a0cd9b9edf..d1ed7a3991c0bd55847669efaf3ac2636b9217cc 100644 |
| --- a/debugger/QT/SkDebuggerGUI.cpp |
| +++ b/debugger/QT/SkDebuggerGUI.cpp |
| @@ -90,7 +90,7 @@ SkDebuggerGUI::SkDebuggerGUI(QWidget *parent) : |
| connect(&fActionClearBreakpoints, SIGNAL(triggered()), this, SLOT(actionClearBreakpoints())); |
| connect(&fActionClearDeletes, SIGNAL(triggered()), this, SLOT(actionClearDeletes())); |
| connect(&fActionClose, SIGNAL(triggered()), this, SLOT(actionClose())); |
| - connect(fSettingsWidget.getVisibilityButton(), SIGNAL(toggled(bool)), this, SLOT(actionCommandFilter())); |
| + connect(&fSettingsWidget, SIGNAL(visibilityFilterChanged()), this, SLOT(actionCommandFilter())); |
| #if SK_SUPPORT_GPU |
| connect(&fSettingsWidget, SIGNAL(glSettingsChanged()), this, SLOT(actionGLWidget())); |
| #endif |
| @@ -441,7 +441,7 @@ void SkDebuggerGUI::actionClearDeletes() { |
| void SkDebuggerGUI::actionCommandFilter() { |
|
robertphillips
2013/11/21 12:52:47
1 line now?
|
| fDebugger.highlightCurrentCommand( |
| - fSettingsWidget.getVisibilityButton()->isChecked()); |
| + fSettingsWidget.getVisibilityFilter()); |
| fCanvasWidget.drawTo(fListWidget.currentRow()); |
| fImageWidget.draw(); |
| } |
| @@ -969,7 +969,7 @@ void SkDebuggerGUI::loadPicture(const SkString& fileName) { |
| * TODO(chudy): This should be deprecated since fDebugger is not |
| * recreated. |
| * */ |
| - fDebugger.highlightCurrentCommand(fSettingsWidget.getVisibilityButton()->isChecked()); |
| + fDebugger.highlightCurrentCommand(fSettingsWidget.getVisibilityFilter()); |
| setupListWidget(commands); |
| setupComboBox(commands); |