Commit 280789c9 authored by Claudio Valerio's avatar Claudio Valerio

harmonized the version

parent 5d686fff
......@@ -129,13 +129,6 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
version = version.left(version.length()-1);
setApplicationVersion(version);
#if defined(Q_WS_MAC) && !defined(QT_NO_DEBUG)
CFStringRef shortVersion = (CFStringRef)CFBundleGetValueForInfoDictionaryKey(CFBundleGetMainBundle(), CFSTR("CFBundleShortVersionString"));
const char *version = CFStringGetCStringPtr(shortVersion, kCFStringEncodingMacRoman);
Q_ASSERT(version);
setApplicationVersion(version);
#endif
QStringList args = arguments();
mIsVerbose = args.contains("-v")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment