[vlmc-devel] commit: MainWindow: Don't force hiding of the history widget ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Wed Sep 8 22:09:24 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Sep  8 21:17:53 2010 +0200| [a188531741e05d7c78cdea92ee243d7a568ea112] | committer: Hugo Beauzée-Luyssen 

MainWindow: Don't force hiding of the history widget

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=a188531741e05d7c78cdea92ee243d7a568ea112
---

 src/Gui/MainWindow.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 8eb2ca4..248e052 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -471,13 +471,11 @@ MainWindow::initializeDockWidgets( void )
     KeyboardShortcutHelper* renderShortcut = new KeyboardShortcutHelper( "keyboard/renderpreview", this );
     connect( renderShortcut, SIGNAL( activated() ), m_projectPreview, SLOT( on_pushButtonPlay_clicked() ) );
 
-    QDockWidget* dock = dockManager->addDockedWidget( UndoStack::getInstance( this ),
+    dockManager->addDockedWidget( UndoStack::getInstance( this ),
                                   QT_TRANSLATE_NOOP( "DockWidgetManager", "History" ),
                                   Qt::AllDockWidgetAreas,
                                   QDockWidget::AllDockWidgetFeatures,
                                   Qt::LeftDockWidgetArea );
-    if ( dock != 0 )
-        dock->hide();
     setupLibrary();
 }
 



More information about the Vlmc-devel mailing list