| 237 | } |
| 238 | |
| 239 | QSharedPointer<Library> LibraryManager::createDesktopLibrary() |
| 240 | { |
| 241 | QList<QString> folders; |
| 242 | folders.append(winOS->GetSystemPath(DesktopDirectory)); // Default Save directory |
| 243 | folders.append(winOS->GetSystemPath(AllUsersDesktopDir)); |
| 244 | |
| 245 | // Create the Desktop Library |
| 246 | QSharedPointer<LibraryImpl> library(new LibraryImpl(_desktopLibraryName)); |
| 247 | library->setFolderPaths(folders); |
| 248 | library->setTextureKey(QString_NT("library_default.desktop.icon")); |
| 249 | library->setValid(true); |
| 250 | library->setHashKey(QString_NT("def_%1").arg(_desktopLibraryName)); |
| 251 | return library; |
| 252 | } |
| 253 | |
| 254 | QSharedPointer<Library> LibraryManager::createLibrary(IShellItem* item) |
| 255 | { |
nothing calls this directly
no test coverage detected