Fix iOS build

This commit is contained in:
Mykola Baibuz 2023-09-01 01:08:44 +03:00
parent 4e9f68acff
commit cacf74af3c
8 changed files with 15 additions and 18 deletions

View file

@ -79,7 +79,7 @@
bool isOpenFile = file.open(QIODevice::ReadOnly);
QByteArray data = file.readAll();
[QtAppDelegate sharedQtAppDelegate].startPageLogic->importAnyFile(QString(data));
[QtAppDelegate sharedQtAppDelegate].ImportController->extractConfigFromData(QString(data));
return YES;
}
return NO;
@ -92,8 +92,8 @@ void QtAppDelegateInitialize()
NSLog(@"Created a new AppDelegate");
}
void setStartPageLogic(StartPageLogic* startPage) {
[QtAppDelegate sharedQtAppDelegate].startPageLogic = startPage;
void setImportController(ImportController* controller) {
[QtAppDelegate sharedQtAppDelegate].ImportController = controller;
}
@end