Skip to content
Snippets Groups Projects
Commit 8ee51d34 authored by Don Gagne's avatar Don Gagne
Browse files

Add getMainToolBar for unit test writing

parent b82c8e78
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,11 @@ public:
/// @brief Restore (and connects) the last used connection (if any)
void restoreLastUsedConnection();
#ifdef UNITTEST_BUILD
// Returns a pointer to the MainToolBar so that unit tests can change views.
MainToolBar* getMainToolBar(void) { return _mainToolBar; }
#endif
public slots:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment