diff options
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r-- | Source/SPConnectionController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index f68e2036..359e2488 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1092,14 +1092,14 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2, if (contextInfo == SPExportFavorites) { SPFavoritesExporter *exporter = [[[SPFavoritesExporter alloc] init] autorelease]; - [exporter setDelegate:self]; + [exporter setDelegate:(NSObject<SPFavoritesExportProtocol> *)self]; [exporter writeFavorites:[self selectedFavoriteNodes] toFile:[panel filename]]; } else if (contextInfo == SPImportFavorites) { SPFavoritesImporter *importer = [[SPFavoritesImporter alloc] init]; - [importer setDelegate:self]; + [importer setDelegate:(NSObject<SPFavoritesImportProtocol> *)self]; [importer importFavoritesFromFileAtPath:[panel filename]]; } |