From: Willem Liu Date: Tue, 3 May 2011 17:37:35 +0000 (+0200) Subject: Changed sync url and sync website url. X-Git-Tag: easylist-0.3.26~2 X-Git-Url: https://vcs.maemo.org/git/?p=easylist;a=commitdiff_plain;h=0a8734cf58bf0c64b1245ce91c50cc05708daeeb Changed sync url and sync website url. --- diff --git a/debian/changelog b/debian/changelog index 1491e30..0dd7f76 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ easylist (0.3.26) unstable; urgency=low - * Initial Release. + * Changed default sync website to http://easylist.willemliu.nl + * Changed default sync URL to http://easylist.willemliu.nl/getList.php + * Minor improvements to the About box. -- Willem Liu Sat, 30 Apr 2011 11:57:57 +0200 diff --git a/globals.h b/globals.h index 87826d7..273aad0 100755 --- a/globals.h +++ b/globals.h @@ -16,7 +16,7 @@ #define USERNAME "Username" #define PASSWORD "Password" #define SYNC_URL "SyncUrl" -#define DEFAULT_SYNC_URL "http://www.willemliu.nl/qt/maemo/easylist/getList.php" +#define DEFAULT_SYNC_URL "http://easylist.willemliu.nl/getList.php" #define SYNC_LIST_NAME "SyncList" static const int BACK = 0; diff --git a/settingsform.cpp b/settingsform.cpp index 5fdce8a..6ca1b03 100755 --- a/settingsform.cpp +++ b/settingsform.cpp @@ -28,7 +28,12 @@ void SettingsForm::shown() ui->syncPasswordLineEdit->setReadOnly(true); } - ui->syncUrlLineEdit->setText(settings->value(SYNC_URL, DEFAULT_SYNC_URL).toString()); + QString syncUrl = settings->value(SYNC_URL, DEFAULT_SYNC_URL).toString(); + if(syncUrl.compare("http://www.willemliu.nl/qt/maemo/easylist/getList.php") == 0) + { + syncUrl = "http://easylist.willemliu.nl/getList.php"; + } + ui->syncUrlLineEdit->setText(syncUrl); ui->syncUsernameLineEdit->setFocus(Qt::ActiveWindowFocusReason); }