From b092ca5ec210f1ac0716db7604024893c34034b6 Mon Sep 17 00:00:00 2001 From: Liran BN Date: Wed, 17 Sep 2014 20:06:36 +0300 Subject: [PATCH] fixed qstring casting --- src/jceData/CSV/csv_exporter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jceData/CSV/csv_exporter.cpp b/src/jceData/CSV/csv_exporter.cpp index 67a6a57..d2149fe 100644 --- a/src/jceData/CSV/csv_exporter.cpp +++ b/src/jceData/CSV/csv_exporter.cpp @@ -61,10 +61,10 @@ bool CSV_Exporter::exportCalendar(calendarSchedule *calSched, CalendarDialog *ca int startM = coursePtr->getMinutesBegin(); int endH = coursePtr->getHourEnd(); int endM = coursePtr->getMinutesEnd(); - QString lecturer = QString(coursePtr->getLecturer().c_str()); //NOTE: STD String - QString type = QString(coursePtr->getType().c_str()); - QString name = QString(coursePtr->getName().c_str()); - QString room = QString(coursePtr->getRoom().c_str()); + QString lecturer = coursePtr->getLecturer(); + QString type = coursePtr->getType(); + QString name = coursePtr->getName(); + QString room = coursePtr->getRoom(); QDate currentDate = cal->getStartDate(); // currentDate will iterate thou the semester