Fixed bug #44.
This commit is contained in:
parent
bde3083f47
commit
81ca791b24
2 changed files with 11 additions and 12 deletions
|
@ -2,20 +2,21 @@
|
||||||
<releases>
|
<releases>
|
||||||
<release version="1.9.9.9" type="feature">
|
<release version="1.9.9.9" type="feature">
|
||||||
<url platform="x86" os="Windows">https://bitbucket.org/skunkos/rssguard/downloads/rssguard-2.0.0.0-win32-test.exe</url>
|
<url platform="x86" os="Windows">https://bitbucket.org/skunkos/rssguard/downloads/rssguard-2.0.0.0-win32-test.exe</url>
|
||||||
<url platform="x86" os="OS2">https://bitbucket.org/skunkos/rssguard/downloads/rssguard-1.9.9.9-os2.7z</url>
|
|
||||||
<changes>
|
<changes>
|
||||||
<![CDATA[<body>
|
<![CDATA[<body>
|
||||||
Fixed:
|
Fixed:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Various GUI and bug fixes.</li>
|
<li>Improved behavior of updater.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
Added:
|
Added:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Application is now able to self-update itself on OS/2 and Windows. Currently, this is EXPERIMENTAL support. Please, report any bugs. Authors take no responsibility for removed files or lost application settings.</li>
|
<li>Added NSIS-based "portable" installer for Windows and restructured update process.</li>
|
||||||
<li>Added option to adjust icons/buttons displayed in toolbars. See Settings/User interface/Toolbars dialog for more information.</li>
|
</ul>
|
||||||
<li>Added option to search messages via regular expression.</li>
|
|
||||||
<li>Added option to highlight particular messages - unread, important, none.</li>
|
Changed:
|
||||||
|
<ul>
|
||||||
|
<li>Updated bundled OpenSSL libraries for Windows portable version.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</body>]]>
|
</body>]]>
|
||||||
</changes>
|
</changes>
|
||||||
|
|
|
@ -47,7 +47,9 @@ FormUpdate::FormUpdate(QWidget *parent)
|
||||||
m_btnUpdate = m_ui->m_buttonBox->addButton(tr("Update"), QDialogButtonBox::ActionRole);
|
m_btnUpdate = m_ui->m_buttonBox->addButton(tr("Update"), QDialogButtonBox::ActionRole);
|
||||||
m_btnUpdate->setToolTip(tr("Download new installation files."));
|
m_btnUpdate->setToolTip(tr("Download new installation files."));
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
connect(m_btnUpdate, SIGNAL(clicked()), this, SLOT(startUpdate()));
|
connect(m_btnUpdate, SIGNAL(clicked()), this, SLOT(startUpdate()));
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(Q_OS_WIN)
|
#if !defined(Q_OS_WIN)
|
||||||
MessageBox::iconify(m_ui->m_buttonBox);
|
MessageBox::iconify(m_ui->m_buttonBox);
|
||||||
|
@ -233,17 +235,13 @@ void FormUpdate::startUpdate() {
|
||||||
// Initialie downloader.
|
// Initialie downloader.
|
||||||
m_downloader = new Downloader(this);
|
m_downloader = new Downloader(this);
|
||||||
|
|
||||||
connect(m_downloader, SIGNAL(progress(qint64,qint64)),
|
connect(m_downloader, SIGNAL(progress(qint64,qint64)), this, SLOT(updateProgress(qint64,qint64)));
|
||||||
this, SLOT(updateProgress(qint64,qint64)));
|
connect(m_downloader, SIGNAL(completed(QNetworkReply::NetworkError,QByteArray)), this, SLOT(updateCompleted(QNetworkReply::NetworkError,QByteArray)));
|
||||||
connect(m_downloader, SIGNAL(completed(QNetworkReply::NetworkError,QByteArray)),
|
|
||||||
this, SLOT(updateCompleted(QNetworkReply::NetworkError,QByteArray)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_btnUpdate->setText(tr("Downloading update..."));
|
m_btnUpdate->setText(tr("Downloading update..."));
|
||||||
m_btnUpdate->setEnabled(false);
|
m_btnUpdate->setEnabled(false);
|
||||||
|
|
||||||
m_downloader->downloadFile(url_file);
|
m_downloader->downloadFile(url_file);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Self-update and package are not available.
|
// Self-update and package are not available.
|
||||||
|
|
Loading…
Add table
Reference in a new issue