Revision: 29918
          http://sourceforge.net/p/bibdesk/svn/29918
Author:   hofman
Date:     2025-11-30 18:11:43 +0000 (Sun, 30 Nov 2025)
Log Message:
-----------
no need to get the path

Modified Paths:
--------------
    trunk/bibdesk/BDSKEditor.m

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2025-11-30 17:39:04 UTC (rev 29917)
+++ trunk/bibdesk/BDSKEditor.m  2025-11-30 18:11:43 UTC (rev 29918)
@@ -2657,7 +2657,7 @@
     if ([[[publication owner] publications] itemForCiteKey:key] == nil) {
         NSString *queryString = queryStringWithCiteKey(key);
         if ([[BDSKPersistentSearch sharedSearch] hasQuery:queryString] == NO) {
-            [[BDSKPersistentSearch sharedSearch] addQuery:queryString 
scopes:@[[[[NSFileManager defaultManager] 
spotlightCacheFolderURLByCreating:NULL] path]]];
+            [[BDSKPersistentSearch sharedSearch] addQuery:queryString 
scopes:@[[[NSFileManager defaultManager] 
spotlightCacheFolderURLByCreating:NULL]]];
         }
         isValid = ([[[BDSKPersistentSearch sharedSearch] 
resultsForQuery:queryString attribute:(__bridge NSString *)kMDItemPath] count] 
> 0);
     } else {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to