Skip to content

Commit 8b79943

Browse files
committed
Fix ADS deprecation message
1 parent 4dd6159 commit 8b79943

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NotepadNext/DockedEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void DockedEditor::addEditor(ScintillaNext *editor)
160160
}
161161

162162
// Create the dock widget for the editor
163-
ads::CDockWidget *dockWidget = new ads::CDockWidget(editor->getName());
163+
ads::CDockWidget *dockWidget = dockManager->createDockWidget(editor->getName());
164164

165165
// Disable elide, elided file names not readable when lots of files opened
166166
dockWidget->tabWidget()->setElideMode(Qt::ElideNone);

0 commit comments

Comments
 (0)