[vlmc-devel] [PATCH 3/4] Set objectName of a QUndoView
Yikai Lu
luyikei.qmltu at gmail.com
Fri Apr 29 10:16:05 CEST 2016
---
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 ) ) );
--
1.9.1
More information about the Vlmc-devel
mailing list