aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2013-11-30 21:27:36 +0000
committerStuart Connolly <stuart02@gmail.com>2013-11-30 21:27:36 +0000
commit0a336a7123f411d5ffc68019bf8b5c3a360551b9 (patch)
tree2d0096e15ebac531b9271fe2a473da0acc7276a5 /Source/SPQueryFavoriteManager.m
parent1413739842750c89d7a29a1f04ef587d73dd2edb (diff)
downloadsequelpro-0a336a7123f411d5ffc68019bf8b5c3a360551b9.tar.gz
sequelpro-0a336a7123f411d5ffc68019bf8b5c3a360551b9.tar.bz2
sequelpro-0a336a7123f411d5ffc68019bf8b5c3a360551b9.zip
Remove use of deprecated methods.
Diffstat (limited to 'Source/SPQueryFavoriteManager.m')
-rw-r--r--Source/SPQueryFavoriteManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m
index 17d2a452..32563964 100644
--- a/Source/SPQueryFavoriteManager.m
+++ b/Source/SPQueryFavoriteManager.m
@@ -817,7 +817,7 @@
if (returnCode == NSOKButton) {
- NSString *filename = [[panel filenames] objectAtIndex:0];
+ NSString *filename = [[[panel URLs] objectAtIndex:0] path];
NSError *readError = nil;
NSString *convError = nil;
NSPropertyListFormat format;