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)
|
||||
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)));
|
||||
|
||||
// TODO: tady jen zavolat updater a ten by si to mohl stahnout sam.
|
||||
down->downloadFile(url_file);
|
||||
downloader->downloadFile(url_file);
|
||||
#else
|
||||
if (!WebFactory::instance()->openUrlInExternalBrowser(url_file)) {
|
||||
if (SystemTrayIcon::isSystemTrayActivated()) {
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with RSS Guard. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "qtsingleapplication/qtsinglecoreapplication.h"
|
||||
#include "definitions/definitions.h"
|
||||
#include "qtsingleapplication/qtsinglecoreapplication.h"
|
||||
|
||||
#include <QTranslator>
|
||||
#include <QDebug>
|
||||
|
|
Loading…
Add table
Reference in a new issue