diff options
Diffstat (limited to 'src/designer/src/components/formeditor/line_propertysheet.cpp')
-rw-r--r-- | src/designer/src/components/formeditor/line_propertysheet.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/designer/src/components/formeditor/line_propertysheet.cpp b/src/designer/src/components/formeditor/line_propertysheet.cpp index ebf228f4b..b155e78db 100644 --- a/src/designer/src/components/formeditor/line_propertysheet.cpp +++ b/src/designer/src/components/formeditor/line_propertysheet.cpp @@ -13,6 +13,8 @@ QT_BEGIN_NAMESPACE +using namespace Qt::StringLiterals; + namespace qdesigner_internal { LinePropertySheet::LinePropertySheet(Line *object, QObject *parent) @@ -27,7 +29,7 @@ bool LinePropertySheet::isVisible(int index) const { const QString name = propertyName(index); - if (name == QStringLiteral("frameShape")) + if (name == "frameShape"_L1) return false; return QDesignerPropertySheet::isVisible(index); } |