mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
File Export (part 1 of 2)
The export functions in mainwindow are getting quite cumbersome with multiple menu options. This patch creates a single menu option "Export.." which allows the user to select a supported format and a filename. To support this the ridefile reader code needed to be adjusted to allow registered readers to declare capability to write and use a consistent (virtual) method to do so. By modifying the base class for ride file reader we now allow new readers to register both read and write capability.
This commit is contained in:
@@ -53,7 +53,7 @@ main(main), cyclist(cyclist), ride(ride)
|
||||
connect(uploader, SIGNAL(completed(QString)),this, SLOT(completed(QString)));
|
||||
|
||||
uploading = true;
|
||||
int size = uploader->upload(cyclist, ride);
|
||||
int size = uploader->upload(main, ride);
|
||||
|
||||
statusLabel->setText(QString(tr("Uploading ride (%1 bytes)...")).arg(size));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user