mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 08:32:58 +00:00
Fixed: sharedApplication was instantiating the wrong class in subclasses of CPApplication (#2968)
Previously, CPApplication was hard-coded. This PR makes sharedApplication instantiating the CPApp of the correct class.
This commit is contained in:
1 parent
607e84c052
commit
41cd73703e
1 file changed
+1
-1
@@ -132,7 +132,7 @@ var CPApplicationDelegate_applicationShouldTerminate_ = 1 << 0,
|
||||
+ (CPApplication)sharedApplication
|
||||
{
|
||||
if (!CPApp)
|
||||
CPApp = [[CPApplication alloc] init];
|
||||
CPApp = [[self alloc] init];
|
||||
|
||||
return CPApp;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user