diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:18:34 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 17:22:58 +0900 |
| commit | fb9112c9ff4ae8380007e190ce68c8313ef46042 (patch) | |
| tree | 6d7baa674f60f0607f245e5d524a9b56108b734b /src/libgui/breakpoint_view.cpp | |
| parent | 85562b094d2dbde5cc8896527c85290532f06c88 (diff) | |
| download | piklab-fb9112c9.tar.gz piklab-fb9112c9.zip | |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 753b5724e1fdbfb87852395722717a9c1643baa3)
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; |
