Some changes...
This commit is contained in:
parent
4c33fa475d
commit
fcc9757a74
2 changed files with 4 additions and 4 deletions
|
@ -115,13 +115,13 @@ void FormUpdate::startUpdate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
|
#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
|
||||||
Downloader *down = new Downloader(this);
|
Downloader *downloader = new Downloader(this);
|
||||||
|
|
||||||
connect(down, SIGNAL(completed(QNetworkReply::NetworkError,QByteArray)),
|
connect(downloader, SIGNAL(completed(QNetworkReply::NetworkError,QByteArray)),
|
||||||
this, SLOT(finish(QNetworkReply::NetworkError,QByteArray)));
|
this, SLOT(finish(QNetworkReply::NetworkError,QByteArray)));
|
||||||
|
|
||||||
// TODO: tady jen zavolat updater a ten by si to mohl stahnout sam.
|
// TODO: tady jen zavolat updater a ten by si to mohl stahnout sam.
|
||||||
down->downloadFile(url_file);
|
downloader->downloadFile(url_file);
|
||||||
#else
|
#else
|
||||||
if (!WebFactory::instance()->openUrlInExternalBrowser(url_file)) {
|
if (!WebFactory::instance()->openUrlInExternalBrowser(url_file)) {
|
||||||
if (SystemTrayIcon::isSystemTrayActivated()) {
|
if (SystemTrayIcon::isSystemTrayActivated()) {
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with RSS Guard. If not, see <http://www.gnu.org/licenses/>.
|
// along with RSS Guard. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "qtsingleapplication/qtsinglecoreapplication.h"
|
|
||||||
#include "definitions/definitions.h"
|
#include "definitions/definitions.h"
|
||||||
|
#include "qtsingleapplication/qtsinglecoreapplication.h"
|
||||||
|
|
||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
Loading…
Add table
Reference in a new issue