diff options
author | Radu Andries <admiral0@tuxfamily.org> | 2013-07-09 16:55:13 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-07-09 16:58:01 +0200 |
commit | d71d059a6c537bc1857d521b228de5cd08409c62 (patch) | |
tree | 40b6db4eed05e508c7c8625fb2e649bd370d23c8 /src/sync/synchosttypewidget.cpp | |
parent | Get sure WebIcon is deleted when done (diff) | |
download | rekonq-d71d059a6c537bc1857d521b228de5cd08409c62.tar.xz |
Add a simple ssh sync handler
CCMAIL: admiral0@tuxfamily.org
REVIEWED-BY: adjam
Many thanks, Radu! And sorry for the late merge ;)
Diffstat (limited to 'src/sync/synchosttypewidget.cpp')
-rw-r--r-- | src/sync/synchosttypewidget.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sync/synchosttypewidget.cpp b/src/sync/synchosttypewidget.cpp index 289f5e5e..373b6a6a 100644 --- a/src/sync/synchosttypewidget.cpp +++ b/src/sync/synchosttypewidget.cpp @@ -49,6 +49,8 @@ SyncHostTypeWidget::SyncHostTypeWidget(QWidget *parent) googleRadioButton->setChecked(true); else if (ReKonfig::syncType() == 2) operaRadioButton->setChecked(true); + if (ReKonfig::syncType() == 3) + sshRadioButton->setChecked(true); else nullRadioButton->setChecked(true); @@ -93,9 +95,14 @@ int SyncHostTypeWidget::nextId() const ReKonfig::setSyncType(2); return SyncAssistant::Page_Opera_Settings; } - else + else if (sshRadioButton->isChecked()) { ReKonfig::setSyncType(3); + return SyncAssistant::Page_SSH_Settings; + } + else + { + ReKonfig::setSyncType(4); return SyncAssistant::Page_Check; } |