Mercurial: Compile with QT_NO_CAST_FROM_ASCII, const-correctness.

This commit is contained in:
Friedemann Kleint
2009-11-03 16:38:39 +01:00
parent 5e8d179a5d
commit db9a967f75
9 changed files with 140 additions and 153 deletions

View File

@@ -36,9 +36,7 @@
#include <vcsbase/vcsbaseeditor.h>
#include <QtCore/QProcess>
#include <QtCore/QTime>
#include <QtCore/QString>
#include <QtCore/QSettings>
#include <QtCore/QDebug>
using namespace Mercurial::Internal;
@@ -99,7 +97,7 @@ void MercurialJobRunner::restart()
void MercurialJobRunner::getSettings()
{
MercurialSettings *settings = MercurialPlugin::instance()->settings();
const MercurialSettings *settings = MercurialPlugin::instance()->settings();
binary = settings->binary();
timeout = settings->timeout();
standardArguments = settings->standardArguments();