mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
Fix iOS build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user