mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:03:23 +00:00
Divelogs.de: store the user/pass on upload
We store the user/pass for 'Apply' when downloading, but we also want to store these values for 'Upload'. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
de8d532adb
commit
e0acad42aa
1 changed files with 5 additions and 0 deletions
|
@ -585,6 +585,11 @@ DivelogsDeWebServices::DivelogsDeWebServices(QWidget* parent, Qt::WindowFlags f)
|
|||
|
||||
void DivelogsDeWebServices::startUpload()
|
||||
{
|
||||
QSettings s;
|
||||
s.setValue("divelogde_user", ui.userID->text());
|
||||
s.setValue("divelogde_pass", ui.password->text());
|
||||
s.sync();
|
||||
|
||||
ui.status->setText(tr("Uploading dive list..."));
|
||||
ui.progressBar->setRange(0,0); // this makes the progressbar do an 'infinite spin'
|
||||
ui.upload->setEnabled(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue