diff options
Diffstat (limited to 'src/libgui/breakpoint_view.cpp')
-rw-r--r-- | src/libgui/breakpoint_view.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgui/breakpoint_view.cpp b/src/libgui/breakpoint_view.cpp index 5375cf4..a8454ea 100644 --- a/src/libgui/breakpoint_view.cpp +++ b/src/libgui/breakpoint_view.cpp @@ -71,13 +71,13 @@ void Breakpoint::View::itemClicked(TQListViewItem *item) if ( item==0 ) return; const Data &data = static_cast<ListViewItem *>(item)->data(); Address address = Breakpoint::list().address(data); - TextEditor *editor = ::tqqt_cast<TextEditor *>(Main::currentEditor()); + TextEditor *editor = ::tqt_cast<TextEditor *>(Main::currentEditor()); const Coff::TextObject *coff = Debugger::manager->coff(); int line = -1; if ( coff && editor && editor->fileType()==PURL::Coff && address.isValid() ) line = coff->lineForAddress(editor->url(), address); if ( line==-1 ) { - editor = ::tqqt_cast<TextEditor *>(Main::editorManager().openEditor(data.url)); + editor = ::tqt_cast<TextEditor *>(Main::editorManager().openEditor(data.url)); line = data.line; } if ( editor==0 ) return; |