Merge branch 'develop' of github.com:OpenEducationFoundation/OpenBoard into develop

preferencesAboutTextFull
Ilia Ryabokon 11 years ago
commit 9820a763c0
  1. 7
      src/core/UBApplication.cpp

@ -129,13 +129,6 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
version = version.left(version.length()-1); version = version.left(version.length()-1);
setApplicationVersion(version); 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(); QStringList args = arguments();
mIsVerbose = args.contains("-v") mIsVerbose = args.contains("-v")

Loading…
Cancel
Save