[vlmc-devel] [PATCH 3/4] Set objectName of a QUndoView

Hugo Beauzée-Luyssen hugo at beauzee.fr
Sat Apr 30 19:09:31 CEST 2016


On 04/29/2016 10:16 AM, Yikai Lu wrote:
> ---
>  src/Gui/MainWindow.cpp | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
> index fe68245..265629f 100644
> --- a/src/Gui/MainWindow.cpp
> +++ b/src/Gui/MainWindow.cpp
> @@ -441,6 +441,7 @@ void
>  MainWindow::setupUndoRedoWidget()
>  {
>      m_undoView = new QUndoView;
> +    m_undoView->setObjectName( QStringLiteral( "History" ) );
>      m_dockedUndoView = dockWidget( m_undoView, Qt::TopDockWidgetArea );
>      auto stack = Core::instance()->undoStack();
>      connect( stack, SIGNAL( canUndoChanged( bool ) ), this, SLOT( canUndoChanged( bool ) ) );
> 
Oh, well nevermind my questions on the previous versions then!

-- 
Hugo Beauzée-Luyssen
www.beauzee.fr


More information about the Vlmc-devel mailing list