Changeset 418:6f270ecacc22 in SMSSender


Ignore:
Timestamp:
May 8, 2014 4:22:58 PM (4 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
default
Message:
  • Fixes gateway search path on windows to allow installation to bin/ while gateways are installed in gateways/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/gui/bootstrap.cpp

    r382 r418  
    7676    QDir libraryPath(qApp->applicationDirPath());
    7777#ifdef Q_OS_WIN
    78     if (libraryPath.dirName().toLower() == "debug" || libraryPath.dirName().toLower() == "release")
     78    if (libraryPath.dirName().toLower() == "bin") {
     79            // smssender is installed into bin/ while the gateways are into
     80                // gateways/.
    7981        libraryPath.cdUp();
     82    }
    8083#elif defined(Q_OS_MAC)
    8184    if (libraryPath.dirName() == "MacOS") {
Note: See TracChangeset for help on using the changeset viewer.