summaryrefslogtreecommitdiff
path: root/src/designer/src/components/buddyeditor/buddyeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/buddyeditor/buddyeditor.cpp')
-rw-r--r--src/designer/src/components/buddyeditor/buddyeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/buddyeditor/buddyeditor.cpp b/src/designer/src/components/buddyeditor/buddyeditor.cpp
index ed6cc3e42..ac9eb55d8 100644
--- a/src/designer/src/components/buddyeditor/buddyeditor.cpp
+++ b/src/designer/src/components/buddyeditor/buddyeditor.cpp
@@ -72,7 +72,7 @@ static bool canBeBuddy(QWidget *w, QDesignerFormWindowInterface *form)
QExtensionManager *ext = form->core()->extensionManager();
if (QDesignerPropertySheetExtension *sheet = qt_extension<QDesignerPropertySheetExtension*>(ext, w)) {
- const int index = sheet->indexOf(QLatin1String("focusPolicy"));
+ const int index = sheet->indexOf(QStringLiteral("focusPolicy"));
if (index != -1) {
bool ok = false;
const Qt::FocusPolicy q = static_cast<Qt::FocusPolicy>(qdesigner_internal::Utils::valueOf(sheet->property(index), &ok));