diff --git a/src/TPDownload.cpp b/src/TPDownload.cpp index f6a5f86fa..0ddf7e757 100644 --- a/src/TPDownload.cpp +++ b/src/TPDownload.cpp @@ -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! diff --git a/src/TPDownloadDialog.cpp b/src/TPDownloadDialog.cpp index 35b516935..c51b21704 100644 --- a/src/TPDownloadDialog.cpp +++ b/src/TPDownloadDialog.cpp @@ -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... }