diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-09-03 17:38:39 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-09-03 18:51:30 +0300 |
commit | 449dff0ecaad422b889d79f901d994d9206441a0 (patch) | |
tree | 35ca437b1b057829a70a2ab55318cb0f9927ec5e /server/TracyView.cpp | |
parent | b42182f0a836654eb9b1e37dbc92802d0838178f (diff) |
Store View and Worker in TimelineController.
Diffstat (limited to 'server/TracyView.cpp')
-rw-r--r-- | server/TracyView.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e069872c..3e66d11c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -52,6 +52,7 @@ View::View( void(*cbMainThread)(std::function<void()>, bool), const char* addr, , m_viewMode( ViewMode::LastFrames ) , m_viewModeHeuristicTry( true ) , m_forceConnectionPopup( true, true ) + , m_tc( *this, m_worker ) , m_frames( nullptr ) , m_messagesScrollBottom( true ) , m_reactToCrash( true ) @@ -76,6 +77,7 @@ View::View( void(*cbMainThread)(std::function<void()>, bool), FileRead& f, ImFon , m_filename( f.GetFilename() ) , m_staticView( true ) , m_viewMode( ViewMode::Paused ) + , m_tc( *this, m_worker ) , m_frames( m_worker.GetFramesBase() ) , m_messagesScrollBottom( false ) , m_smallFont( smallFont ) |