Commit 8ee51d34 authored by Don Gagne's avatar Don Gagne

Add getMainToolBar for unit test writing

parent b82c8e78
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment