File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
crates/cxx-qt-lib/src/core/qflags Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,12 @@ impl<T: QFlag> QFlags<T> {
106106 }
107107 }
108108
109- #[ cfg( cxxqt_qt_version_at_least_6_2) ]
110109 /// Returns `true` if any flag set in *flag* is also set in this flags object, otherwise
111110 /// `false`. If *flag* has no flags set, the return will always be `false`.
112111 pub fn test_any_flag ( self , flag : T ) -> bool {
113112 self . test_any_flags ( Self :: from ( flag) )
114113 }
115114
116- #[ cfg( cxxqt_qt_version_at_least_6_2) ]
117115 /// Returns `true` if any flag set in *flags* is also set in this flags object, otherwise
118116 /// `false`. If *flags* has no flags set, the return will always be `false`.
119117 pub fn test_any_flags ( self , flags : Self ) -> bool {
@@ -303,7 +301,6 @@ mod test {
303301 assert ! ( flags. test_flags( other) ) ;
304302 }
305303
306- #[ cfg( cxxqt_qt_version_at_least_6_2) ]
307304 #[ test]
308305 fn qflags_test_any_flags ( ) {
309306 let flags = KeyboardModifier :: ControlModifier
You can’t perform that action at this time.
0 commit comments