We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f8c6d6 commit 791f4b9Copy full SHA for 791f4b9
qmetaobject/src/qtdeclarative.rs
@@ -506,11 +506,7 @@ pub fn qml_register_type<T: QObject + Default + Sized>(
506
///
507
/// [qt]: https://doc.qt.io/qt-5/qqmlengine.html#qmlRegisterModule
508
#[cfg(qt_5_9)]
509
-pub fn qml_register_module(
510
- uri: &CStr,
511
- version_major: u32,
512
- version_minor: u32,
513
-) {
+pub fn qml_register_module(uri: &CStr, version_major: u32, version_minor: u32) {
514
let uri_ptr = uri.as_ptr();
515
516
cpp!(unsafe [
0 commit comments