Fix game window width/height setting being broken when using Arabic locale
Qt displays numbers differently in Arabic. The spinbox window height/width used
getText instead of value to get the value, which was wrong because this gets
the user-facing string (in arabic) instead of the number to use internally.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pbLoad_clicked();
void on_pbSave_clicked();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H