Commit 14fbf49f authored by Johannes Zarl-Zierl's avatar Johannes Zarl-Zierl

Add comment

parent 822e8cd2
......@@ -291,6 +291,7 @@ QDockWidget *AnnotationDialog::Dialog::createDock(const QString &title, const QS
Qt::DockWidgetArea location, QWidget *widget)
{
QDockWidget *dock = new QDockWidget(title);
// make sure that no accelerator is set up now - this is done by ShortCutManager instead:
KAcceleratorManager::setNoAccel(dock);
dock->setObjectName(name);
dock->setAllowedAreas(Qt::AllDockWidgetAreas);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment