<commit_before>/* main.cpp
 * main function for the tile editor GUI */

#include <stdio.h>
#include <QMouseEvent>
#include <QMessageBox>
#include <QFileDialog>
#include "editorwindow.h"
#include "newdialog.h"
#include "ui_mainwindow.h"
#include "ui_newmap.h"

/* main entry point */
int main(int argc, char** argv) {
    /* pass flags to QT */
    QApplication app(argc, argv);

    /* load the main window ui from the one QT generates from the ui file */ 
    EditorWindow* window = new EditorWindow(&app);
    Ui_MainWindow ui;
    ui.setupUi(window);

    /* set up all the triggers */
    window->setup_triggers(&ui);

    /* set up the graphics areas */ 
    QGraphicsScene* map_scene = new QGraphicsScene(window);
    QGraphicsScene* palette_scene = new QGraphicsScene(window);<commit_msg>Got rid of the hateful connectSlotsByName warnings by dumping them into a file in /tmp instead<commit_after>/* main.cpp
 * main function for the tile editor GUI */

#include <stdio.h>
#include <QMouseEvent>
#include <QMessageBox>
#include <QFileDialog>
#include "editorwindow.h"
#include "newdialog.h"
#include "ui_mainwindow.h"
#include "ui_newmap.h"

/* main entry point */
int main(int argc, char** argv) {
    /* pass flags to QT */
    QApplication app(argc, argv);

    /* load the main window ui from the one QT generates from the ui file */ 
    EditorWindow* window = new EditorWindow(&app);
    Ui_MainWindow ui;
    stderr = fopen("/tmp/gbate-error", "w");
    ui.setupUi(window);

    /* set up all the triggers */
    window->setup_triggers(&ui);

    /* set up the graphics areas */ 
    QGraphicsScene* map_scene = new QGraphicsScene(window);
    QGraphicsScene* palette_scene = new QGraphicsScene(window);
{'fraction_non_alphanumeric': 0.1182983682983683, 'fraction_numerical': 0.0, 'mean_word_length': 3.7430939226519335, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '840475', 'n_tokens_mistral': 551, 'n_tokens_neox': 526, 'n_words': 177}