mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Code Cleanup: TP upload/download
.. just removed commented out code.
This commit is contained in:
@@ -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!
|
||||
|
||||
|
||||
@@ -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...
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user