[vlmc-devel] Set objectName of a QUndoView
Yikai Lu
git at videolan.org
Sat Apr 30 19:10:21 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Fri Apr 29 17:16:05 2016 +0900| [0394b1381bc1dd8e82cb25005edefe483b9e573b] | committer: Hugo Beauzée-Luyssen
Set objectName of a QUndoView
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> https://code.videolan.org/videolan/vlmc/commit/0394b1381bc1dd8e82cb25005edefe483b9e573b
---
src/Gui/MainWindow.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index fb6be8a..a69dde1 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 ) ) );
More information about the Vlmc-devel
mailing list