Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
9dd741de
Commit
9dd741de
authored
Jan 10, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/QuincyKit: minor tweak so we can set our own app versions if needed
parent
4cec2c76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
modules/gui/macosx/BWQuincyManager.m
modules/gui/macosx/BWQuincyManager.m
+19
-0
No files found.
modules/gui/macosx/BWQuincyManager.m
View file @
9dd741de
...
@@ -34,7 +34,15 @@
...
@@ -34,7 +34,15 @@
#define SDK_NAME @"Quincy"
#define SDK_NAME @"Quincy"
#define SDK_VERSION @"2.1.6"
#define SDK_VERSION @"2.1.6"
@interface
BWQuincyManager
()
{
NSString
*
_customAppVersion
;
}
@end
@interface
BWQuincyManager
(
private
)
@interface
BWQuincyManager
(
private
)
-
(
void
)
startManager
;
-
(
void
)
startManager
;
-
(
void
)
_postXML
:(
NSString
*
)
xml
toURL
:(
NSURL
*
)
url
;
-
(
void
)
_postXML
:(
NSString
*
)
xml
toURL
:(
NSURL
*
)
url
;
...
@@ -86,6 +94,8 @@
...
@@ -86,6 +94,8 @@
[
_crashFile
release
];
[
_crashFile
release
];
[
_quincyUI
release
];
[
_quincyUI
release
];
if
(
_customAppVersion
)
[
_customAppVersion
release
];
[
super
dealloc
];
[
super
dealloc
];
}
}
...
@@ -422,7 +432,16 @@
...
@@ -422,7 +432,16 @@
return
string
;
return
string
;
}
}
-
(
void
)
setApplicationVersion
:(
NSString
*
)
appVersion
{
_customAppVersion
=
appVersion
;
[
_customAppVersion
retain
];
}
-
(
NSString
*
)
applicationVersion
{
-
(
NSString
*
)
applicationVersion
{
if
(
_customAppVersion
)
return
_customAppVersion
;
NSString
*
string
=
[[[
NSBundle
mainBundle
]
localizedInfoDictionary
]
valueForKey
:
@"CFBundleVersion"
];
NSString
*
string
=
[[[
NSBundle
mainBundle
]
localizedInfoDictionary
]
valueForKey
:
@"CFBundleVersion"
];
if
(
!
string
)
if
(
!
string
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment