From d2831399bd497092caa88c3bc4cfd1e9b6bd79e4 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 3 Jun 2009 14:36:55 +0200 Subject: [PATCH] MainWindow: add a ResourcesBrowser to sidebar Instantiate a ResourcesBrowser and add it to sidebar so it's easy accessible. Signed-off-by: Tobias Doerffel --- src/gui/main_window.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp index fc75d0677..0c787f5ab 100644 --- a/src/gui/main_window.cpp +++ b/src/gui/main_window.cpp @@ -1,5 +1,5 @@ /* - * main_window.cpp - implementation of LMMS-main-window + * main_window.cpp - implementation of LMMS' main window * * Copyright (c) 2004-2009 Tobias Doerffel * @@ -74,6 +74,7 @@ #include "text_float.h" #include "cpuload_widget.h" #include "visualization_widget.h" +#include "resources_browser.h" #include "gui/tracks/track_container_scene.h" @@ -151,6 +152,9 @@ mainWindow::mainWindow( void ) : false #endif ), ++id ); + // add a resources browser to sidebar + side_bar->appendTab( new ResourcesBrowser( splitter ), ++id ); + m_workspace = new QMdiArea( splitter );