Code Cleanup: TP upload/download

.. just removed commented out code.
This commit is contained in:
Mark Liversedge
2013-02-07 15:53:39 +00:00
parent 03b6832b7b
commit 3df4908156
2 changed files with 0 additions and 7 deletions

View File

@@ -203,11 +203,6 @@ TPDownload::download(QString cyclist, int personId, int workoutId)
current.addMethodArgument("password", "", appsettings->cvalue(cyclist, GC_TPPASS).toString());
current.addMethodArgument("personId", "", personId);
//XXX QtSoapArray seems to like causing a SEGV, will use a DomElement for now...
//QtSoapArray workouts(QtSoapQName("workoutIds"), QtSoapType::Int, 1);
//workouts.insert(0, new QtSoapSimpleType(QtSoapQName("int"), workoutId));
//current.addMethodArgument(&workouts);
QtSoapStruct *ints = new QtSoapStruct; // gets taken over by message and free'd there
// if you pass a pointer it all goes boom!

View File

@@ -36,8 +36,6 @@ TPDownloadDialog::TPDownloadDialog(MainWindow *main) : QDialog(main, Qt::Dialog)
appsettings->cvalue(main->cyclist, GC_TPUSER, "null").toString(),
appsettings->cvalue(main->cyclist, GC_TPPASS, "null").toString());
//setMinimumWidth(850); //XXX not friendly to netbooks, but avoids horiz scrollbar
QWidget::hide(); // don't show just yet...
}