Changed control file
[easylist] / mainform.cpp
index a598a18..0c61735 100755 (executable)
@@ -166,14 +166,14 @@ void MainForm::on_actionAbout_triggered()
 {\r
     qDebug() << "About";\r
     QString aboutText;\r
-    aboutText.append("<html>");\r
+    aboutText.append("<html><body>");\r
     aboutText.append("EasyList (c) 2010-");\r
     aboutText.append(QDate::currentDate().toString("yyyy"));\r
     aboutText.append("<br><br>");\r
     aboutText.append("Created by Willem Liu.<br>");\r
     aboutText.append("Created with QtCreator.<br><br>");\r
     aboutText.append("Please <a href='http://www.willemliu.nl/donate'>donate</a> any amount you deem this app is worthy to keep me going on.<br><br>");\r
-    aboutText.append("</html>");\r
+    aboutText.append("</body></html>");\r
     QMessageBox::about(this, "EasyList", aboutText);\r
 }\r
 \r
@@ -236,6 +236,8 @@ void MainForm::on_actionSync_triggered()
 \r
 void MainForm::slotSyncList(QNetworkReply* pReply)\r
 {\r
+    settings->setValue(LIST_TEXT, MyCheckBoxContainer::getInstance()->getListText());\r
+    SystemSettings::getInstance()->saveCurrentList();\r
     QByteArray data=pReply->readAll();\r
     QString list = QString::fromUtf8(data);\r
     settings->setValue(LIST_TEXT, list);\r