mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fixed warning for non-MAS Xcode version.
This commit is contained in:
@@ -89,7 +89,6 @@ QByteArray objc_downloadPathBookmark(const QString &path);
|
||||
QByteArray objc_pathBookmark(const QString &path);
|
||||
void objc_downloadPathEnableAccess(const QByteArray &bookmark);
|
||||
|
||||
class objc_FileBookmarkData;
|
||||
class objc_FileBookmark {
|
||||
public:
|
||||
objc_FileBookmark(const QByteArray &bookmark);
|
||||
@@ -103,6 +102,9 @@ public:
|
||||
~objc_FileBookmark();
|
||||
|
||||
private:
|
||||
#ifdef OS_MAC_STORE
|
||||
class objc_FileBookmarkData;
|
||||
objc_FileBookmarkData *data = nullptr;
|
||||
#endif // OS_MAC_STORE
|
||||
|
||||
};
|
||||
|
@@ -1160,7 +1160,7 @@ namespace {
|
||||
QMutex _bookmarksMutex;
|
||||
}
|
||||
|
||||
class objc_FileBookmarkData {
|
||||
class objc_FileBookmark::objc_FileBookmarkData {
|
||||
public:
|
||||
~objc_FileBookmarkData() {
|
||||
if (url) [url release];
|
||||
|
Reference in New Issue
Block a user