mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +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:
@@ -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