Changeset 340:4117c5b9cdcc in SMSSender


Ignore:
Timestamp:
Mar 26, 2014 4:00:09 PM (5 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Fixes wrong variable name in bootstrap.cpp.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/gui/bootstrap.cpp

    r316 r340  
    6060    QDir libraryPath(qApp->applicationDirPath());
    6161#ifdef Q_OS_WIN
    62     if (gatewayPath.dirName().toLower() == "debug" || gatewayPath.dirName().toLower() == "release")
    63         gatewayPath.cdUp();
     62    if (libraryPath.dirName().toLower() == "debug" || libraryPath.dirName().toLower() == "release")
     63        libraryPath.cdUp();
    6464#elif defined(Q_OS_MAC)
    65     if (gatewayPath.dirName() == "MacOS") {
    66         gatewayPath.cdUp();
     65    if (libraryPath.dirName() == "MacOS") {
     66        libraryPath.cdUp();
    6767    }
    6868#endif
     
    7474#ifdef Q_OS_UNIX
    7575#ifndef QT_DEBUG
    76     gatewayPath = QDir("/usr/lib/smssender/gateways");
    77     if (!gatewayPath.exists()) {
     76    libraryPath = QDir("/usr/lib/smssender/gateways");
     77    if (!libraryPath.exists()) {
    7878        return;
    7979    }
Note: See TracChangeset for help on using the changeset viewer.