Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/activeqt/control/qaxfactory.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information ([email protected])
     4** All rights reserved.
     5** Contact: Nokia Corporation ([email protected])
    56**
    67** This file is part of the ActiveQt framework of the Qt Toolkit.
     
    5152QT_BEGIN_NAMESPACE
    5253
    53 extern char qAxModuleFilename[MAX_PATH];
     54extern qAxModuleFilename[MAX_PATH];
    5455
    5556/*!
     
    278279
    279280    if (licenseKey.isEmpty()) {
    280         QString licFile(QFile::decodeName(qAxModuleFilename));
     281        QString licFile(Q(qAxModuleFilename));
    281282        int lastDot = licFile.lastIndexOf(QLatin1Char('.'));
    282283        licFile = licFile.left(lastDot) + QLatin1String(".lic");
     
    361362}
    362363
    363 extern char qAxModuleFilename[MAX_PATH];
     364extern qAxModuleFilename[MAX_PATH];
    364365
    365366/*!
     
    373374QString QAxFactory::serverDirPath()
    374375{
    375     return QFileInfo(QString::fromLocal8Bit(qAxModuleFilename)).absolutePath();
     376    return QFileInfo(QString::from(qAxModuleFilename)).absolutePath();
    376377}
    377378
     
    385386QString QAxFactory::serverFilePath()
    386387{
    387     return QString::fromLocal8Bit(qAxModuleFilename);
     388    return QString::from(qAxModuleFilename);
    388389}
    389390
     
    493494        return false;
    494495
    495     if (!QString::fromLocal8Bit(qAxModuleFilename).toLower().endsWith(QLatin1String(".exe")))
     496    if (!QString::from(qAxModuleFilename).toLower().endsWith(QLatin1String(".exe")))
    496497        return false;
    497498
Note: See TracChangeset for help on using the changeset viewer.