Skip to content

Commit cb1d1de

Browse files
committed
Replace deprecated code
1 parent dc9a8b8 commit cb1d1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spelling/dictionary_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void DictionaryManager::addProviders()
152152
#else
153153
bool has_nsspellchecker = false;
154154

155-
for (AbstractDictionaryProvider* provider : qAsConst(m_providers)) {
155+
for (AbstractDictionaryProvider* provider : std::as_const(m_providers)) {
156156
if (dynamic_cast<DictionaryProviderNSSpellChecker*>(provider)) {
157157
has_nsspellchecker = true;
158158
}

0 commit comments

Comments
 (0)