~ubuntu-branches/ubuntu/saucy/unity8/saucy-proposed

« back to all changes in this revision

Viewing changes to main.cpp

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2013-10-04 21:22:29 UTC
  • Revision ID: package-import@ubuntu.com-20131004212229-a2j9c8et8gfd7xue
Tags: 7.82+13.10.20131004.2-0ubuntu1
Revert 7.82+13.10.20131004.1-0ubuntu1 back to
7.81.3+13.10.20130927.3-0ubuntu1 due to CPU hogging issue with
7.82+13.10.20131004.1-0ubuntu1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
 
114
114
    // The testability driver is only loaded by QApplication but not by QGuiApplication.
115
115
    // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own.
116
 
    if (args.contains(QLatin1String("-testability")) || getenv("QT_LOAD_TESTABILITY")) {
 
116
    if (args.contains(QLatin1String("-testability"))) {
117
117
        QLibrary testLib(QLatin1String("qttestability"));
118
118
        if (testLib.load()) {
119
119
            typedef void (*TasInitialize)(void);