Changeset 9db1d00 in vtool


Ignore:
Timestamp:
01/07/15 15:19:56 (7 years ago)
Author:
Tarmo Kople <tarmo@…>
Branches:
master
Children:
d97f452
Parents:
bf223ea
git-author:
Tarmo Kople <tarmo@…> (01/07/15 15:19:56)
git-committer:
Tarmo Kople <tarmo@…> (01/07/15 15:19:56)
Message:

Os X updater updates + code cleanup

Files:
15 edited

Legend:

Unmodified
Added
Removed
  • Vtool/Vtool.pro

    r5dffc5b r9db1d00  
    99QMAKE_CXXFLAGS_RELEASE -= -g 
    1010QMAKE_CFLAGS_RELEASE -= -g 
     11QMAKE_CXXFLAGS_WARN_ON = -Wall -Wno-unused-parameter 
     12 
    1113CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT 
    1214 
  • Vtool/modules/dlgbackup.cpp

    rf45e99c r9db1d00  
    222222void DlgBackup::closeEvent(QCloseEvent *e) 
    223223{ 
    224     e=e; 
    225224    this->deleteLater(); 
    226225} 
  • Vtool/modules/dlgsendirframe.cpp

    rf45e99c r9db1d00  
    5353void DlgSendIRframe::closeEvent(QCloseEvent *e) 
    5454{ 
    55     e=e; 
    5655    this->deleteLater(); 
    5756} 
  • Vtool/modules/dlgversion.cpp

    rf45e99c r9db1d00  
    5252void DlgVersion::closeEvent(QCloseEvent *e) 
    5353{ 
    54     e = e; 
    5554    this->deleteLater(); 
    5655} 
  • Vtool/modules/eventmapviewer.cpp

    rf45e99c r9db1d00  
    9999void EventmapViewer::closeEvent(QCloseEvent *e) 
    100100{ 
    101     e = e; 
    102101    this->deleteLater(); 
    103102} 
  • Vtool/modules/frameviewer.cpp

    rf45e99c r9db1d00  
    322322void FrameViewer::closeEvent(QCloseEvent *e) 
    323323{ 
    324     e = e; 
    325324    this->deleteLater(); 
    326325} 
  • Vtool/modules/remotechecker.cpp

    rf45e99c r9db1d00  
    107107void RemoteChecker::closeEvent(QCloseEvent *e) 
    108108{ 
    109     e=e; 
    110109    this->deleteLater(); 
    111110} 
     
    144143{ 
    145144#define ANIM_SPEED 200 
    146     arg1 = arg1; 
    147145 
    148146        QPropertyAnimation *animation1 = new QPropertyAnimation(ui->stackedWidget, "geometry"); 
  • Vtool/modules/updatechecker.cpp

    rf45e99c r9db1d00  
    6161        QVariant value; 
    6262        QString key = QString(params[0]); 
    63         if (key == "firmware" || key == "app_win32" || "app_osx32"){ 
     63        if (key == "firmware" || key == "app_win32" || "app_osx"){ 
    6464            bool ok; 
    6565            value = params[1].toInt(&ok, 10); 
  • Vtool/vtool.cpp

    rbf223ea r9db1d00  
    192192#ifdef __APPLE__ 
    193193        qDebug() << "Version map " << versionMap; 
    194         vconfig.appVersionAvailable = (versionMap["app_osx32"]).toInt(); 
     194        vconfig.appVersionAvailable = (versionMap["app_osx"]).toInt(); 
    195195        qDebug() << "App current: " << vconfig.appVersionCurrent; 
    196196        qDebug() << "App available: " << vconfig.appVersionAvailable; 
  • Vtool/widgets/appdownloader_osx.cpp

    rf45e99c r9db1d00  
    1616{ 
    1717    connect(&nmanager,SIGNAL(finished(QNetworkReply*)),this,SLOT(appFileDownloaded(QNetworkReply*))); 
    18     QUrl url(updateSite + "app_osx32/" + QString::number(appversion) + ".txt" + voodooSerial + "?o=3"); 
     18    QUrl url(updateSite + "app_osx/" + QString::number(appversion) + ".txt" + voodooSerial + "?o=3"); 
    1919    QNetworkRequest nreq(url); 
    2020    nmanager.get(nreq); 
     
    8585    } 
    8686 
    87     qDebug() << "downloading from: " + updateSite + "app_osx32/" + fileHash + voodooSerial + "?o=3" ; 
    88     QUrl url(updateSite + "app_osx32/" + fileHash + voodooSerial + "?o=3"); 
     87    qDebug() << "downloading from: " + updateSite + "app_osx/" + fileHash + voodooSerial + "?o=3" ; 
     88    QUrl url(updateSite + "app_osx/" + fileHash + voodooSerial + "?o=3"); 
    8989    QNetworkRequest nreq(url); 
    9090    nmanager.get(nreq); 
  • Vtool/widgets/keygrab.cpp

    rf45e99c r9db1d00  
    234234void KeyGrab::focusOutEvent(QFocusEvent *event) 
    235235{ 
    236     event = event; 
    237236    if(state != Running) return; 
    238237    this->setFocus(); 
  • Vtool/widgets/keyinfo.cpp

    rf45e99c r9db1d00  
    3131        startchar = line.left(1); 
    3232        quint32 value = startchar.toInt(&isnumber); 
    33         value = value; // to avoid warning 
    3433 
    3534        // check if line strats with number 
  • Vupdater/Vupdater.pro

    r5dffc5b r9db1d00  
    1111QMAKE_CXXFLAGS_RELEASE -= -g 
    1212QMAKE_CFLAGS_RELEASE -= -g 
     13QMAKE_CXXFLAGS_WARN_ON = -Wall -Wno-unused-parameter 
    1314CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT 
    1415 
  • Vupdater/vupdater.cpp

    rf62ff55 r9db1d00  
    1212#include <QMessageBox> 
    1313 
    14 QString updateUrl = "http://www.mcu.ee/irvoodoo/"; 
    15  
    1614Vupdater::Vupdater(QWidget *parent) : 
    1715    QMainWindow(parent), 
     
    251249{ 
    252250#define ANIM_SPEED 200 
    253     arg1 = arg1; 
    254251 
    255252    QPropertyAnimation *animation1 = new QPropertyAnimation(ui->stackedWidget, "geometry"); 
  • Vupdater/vupdater.h

    rf62ff55 r9db1d00  
    2727} 
    2828 
    29 #define UPDATE_SITE "http://www.irvoodoo.com/irvoodoo/" 
     29#define UPDATE_SITE "http://www.irvoodoo.com/updates/" 
    3030 
    3131#define PAGE_CONNECT 0 
Note: See TracChangeset for help on using the changeset viewer.