~charon-developers/tuchulcha/qt5

« back to all changes in this revision

Viewing changes to src/FileManager.cpp

  • Committer: Jens Malte Gottfried
  • Date: 2013-07-16 16:06:28 UTC
  • Revision ID: jmgottfried@web.de-20130716160628-pjsy4mw5ksuskrkk
fixed Qt5 compile errors

workflow display still does not work, adding to scene missing

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
                                (tr("Tuchulcha configuration directory \"%1\" "
48
48
                                        "could not be created. Are permissions set correctly?")
49
49
                                .arg(configPath))
50
 
                                .toAscii().constData());
 
50
                                .toLocal8Bit().constData());
51
51
        if (!configPathInfo.isDir())
52
52
                qFatal("%s",
53
53
                                (tr("Tuchulcha configuration directory \"%1\" "
54
54
                                        "exists, but is not a directory. Please delete "
55
55
                                        "\"%1\".")
56
56
                                .arg(configPath))
57
 
                                .toAscii().constData());
 
57
                                .toLocal8Bit().constData());
58
58
}
59
59
 
60
60
FileManager::~FileManager() {
73
73
        if (!ok)
74
74
                qFatal("%s", (tr("Failed to change to directory \"%1\".")
75
75
                                .arg(QDir::homePath() + "/" + TUCHULCHA_DIR))
76
 
                                .toAscii().constData());
 
76
                                .toLocal8Bit().constData());
77
77
        return ret;
78
78
}
79
79