<commit_before>#include "cellmlmodelrepositorywindow.h"
#include "internetfile.h"

#include "ui_cellmlmodelrepositorywindow.h"

#include <QDebug>

namespace OpenCOR {
namespace CellMLModelRepository {

CellmlModelRepositoryWindow::CellmlModelRepositoryWindow(QWidget *pParent) :
    DockWidget(pParent),
    mUi(new Ui::CellmlModelRepositoryWindow)
{
    // Set up the UI

    mUi->setupUi(this);

    // Retrieve the list of models in the CellML Model Repository as JSON code
    // from http://192.168.127.12/workspace/res/contents.json

    Core::InternetFile internetFile;

    QNetworkReply *res = internetFile.get("http://192.168.127.12/workspace/rest/contents.json");

    qDebug(QString(res->readAll()).toLatin1().constData());
}

CellmlModelRepositoryWindow::~CellmlModelRepositoryWindow()
{
    // Delete the UI

    delete mUi;
}

void CellmlModelRepositoryWindow::retranslateUi()
{
    // Retranslate the whole window

    mUi->retranslateUi(this);
}

} }<commit_msg>Very minor fix (was getting a warning on Linux and Mac OS X).<commit_after>#include "cellmlmodelrepositorywindow.h"
#include "internetfile.h"

#include "ui_cellmlmodelrepositorywindow.h"

#include <QDebug>

namespace OpenCOR {
namespace CellMLModelRepository {

CellmlModelRepositoryWindow::CellmlModelRepositoryWindow(QWidget *pParent) :
    DockWidget(pParent),
    mUi(new Ui::CellmlModelRepositoryWindow)
{
    // Set up the UI

    mUi->setupUi(this);

    // Retrieve the list of models in the CellML Model Repository as JSON code
    // from http://192.168.127.12/workspace/res/contents.json

    Core::InternetFile internetFile;

    QNetworkReply *res = internetFile.get("http://192.168.127.12/workspace/rest/contents.json");

    qDebug("%s", QString(res->readAll()).toLatin1().constData());
}

CellmlModelRepositoryWindow::~CellmlModelRepositoryWindow()
{
    // Delete the UI

    delete mUi;
}

void CellmlModelRepositoryWindow::retranslateUi()
{
    // Retranslate the whole window

    mUi->retranslateUi(this);
}

} }
{'fraction_non_alphanumeric': 0.11978131212723658, 'fraction_numerical': 0.02286282306163022, 'mean_word_length': 4.515068493150685, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7154306', 'n_tokens_mistral': 674, 'n_tokens_neox': 625, 'n_words': 125}