Skip to content

Commit

Permalink
Updated KJVCanOpener Info.plist file for building the Mac KJPBS 2.0 R…
Browse files Browse the repository at this point in the history
…elease. Fixed bugs in CSV.h in a previously unexpanded template that would no longer compile under the new g++ compiler on Mac. There's now 1042 issue warnings with the new compiler (ugh), but at least it builds.

git-svn-id: file:///home/dewhisna/Documents/programs/Bible/svndump/purebiblesearch_150731/code_gitcvt/trunk@742 523e89ec-37fb-4b40-b97f-42a194c95123
  • Loading branch information
dewhisna committed Nov 13, 2013
1 parent 45466f6 commit 86f044b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions programs/KJVCanOpener/CSV.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class CCSVStream {
template <class T> CCSVStream &operator >>(T &val) {
QString strTemp;
CCSVStream &retVal = (*this >> strTemp);
QByteArray data(strTemp.utf16(), strTemp.size() * sizeof(ushort));
QBuffer tmpBuff(data);
QByteArray data(reinterpret_cast<const char *>(strTemp.utf16()), strTemp.size() * sizeof(ushort));
QBuffer tmpBuff(&data);
tmpBuff.open(QIODevice::ReadOnly);
QTextStream aStream(&tmpBuff);
aStream.setCodec("UTF-16");
Expand Down
2 changes: 1 addition & 1 deletion programs/KJVCanOpener/KJVCanOpener.Info.plist.app
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>LSApplicationCategoryType</key>
<string>public.app-category.education</string>
<key>CFBundleShortVersionString</key>
<string>1.91.1</string>
<string>2.0.0</string>
<key>CFBundleIdentifier</key>
<string>com.dewtronics.@EXECUTABLE@</string>
<key>NOTE</key>
Expand Down

0 comments on commit 86f044b

Please sign in to comment.