forked from qt-creator/qt-creator
ProjectExplorer: Remove IDeviceFactory::setCanCreate
That's implicit now by using setCreator() The Android case looks odd as this is (and was) effectively static information at startup. This will be addressed in a follow-up patch, for now keep it functionally equivalent. Change-Id: I4e6082f88dcd21379186340189acb581caef172a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -59,7 +59,6 @@ WebAssemblyDeviceFactory::WebAssemblyDeviceFactory()
|
||||
setCombinedIcon(":/webassembly/images/webassemblydevicesmall.png",
|
||||
":/webassembly/images/webassemblydevice.png");
|
||||
setConstructionFunction(&WebAssemblyDevice::create);
|
||||
setCanCreate(true);
|
||||
setCreator(&WebAssemblyDevice::create);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user