Skip to content

Commit 58ccd53

Browse files
committed
QUrl::FormattingOptions flag arguments didn't work for Qt 5
QUrl::FormattingOptions has the peculiar situation that it actually consists of values from QUrl::UrlFormattingOption and QUrl::ComponentFormattingOption. It seems the moc doesn't support this situation, so at least support the UrlFormattingOption values. (I left the old entry in to support Qt 4, but I don't know if PythonQt even still works with Qt 5)
1 parent d3ac0f0 commit 58ccd53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generator/typesystem_core.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@
694694
<enum-type name="QTimeLine::Direction"/>
695695
<enum-type name="QTimeLine::State"/>
696696
<enum-type name="QUrl::FormattingOption" flags="QUrl::FormattingOptions"/>
697+
<enum-type name="QUrl::UrlFormattingOption" flags="QUrl::FormattingOptions"/>
697698
<enum-type name="QUrl::ComponentFormattingOption" flags="QUrl::ComponentFormattingOptions"/> <!-- Qt 5 -->
698699
<enum-type name="QUrl::UrlFormattingOption"/> <!-- Qt 5 -->
699700
<enum-type name="QUrl::ParsingMode"/>

0 commit comments

Comments
 (0)