freebsd-ports/german/tipp10/files/patch-sql_startsql.cpp
John Marino 27d5292290 german/tipp10: Finish C++ fixes for gcc48
These patches should have been included in previous commit.
Fixes gcc48/binutils 2.23 failures
2013-10-30 15:53:09 +00:00

11 lines
529 B
C++

--- sql/startsql.cpp.orig 2013-10-30 15:20:29.130118000 +0000
+++ sql/startsql.cpp
@@ -344,7 +344,7 @@ bool StartSql::updateOwnLesson(QString l
for (i = 0; i < content.size(); i++) {
//simplifiedContent = QString::QString(
// content.at(i)).replace(QChar(0x27), "''", Qt::CaseSensitive).simplified();
- simplifiedContent = trim(QString::QString(
+ simplifiedContent = trim(QString(
content.at(i)).replace(QChar(0x27), "''", Qt::CaseSensitive));
if (!query.exec("INSERT INTO own_content VALUES(NULL,'" +