Qt: Remember the tile and font size
The QT_TILEWIDTH and QT_TILEHEIGHT read from NetHack config file override the remembered settings. Also set the smallest tile size to 6x6
This commit is contained in:
@@ -33,6 +33,7 @@ public slots:
|
||||
void setGlyphSize(bool);
|
||||
|
||||
private:
|
||||
QSettings settings;
|
||||
QSpinBox tilewidth;
|
||||
QSpinBox tileheight;
|
||||
QLabel widthlbl;
|
||||
@@ -48,6 +49,7 @@ private:
|
||||
|
||||
private slots:
|
||||
void resizeTiles();
|
||||
void changedFont();
|
||||
};
|
||||
|
||||
extern NetHackQtSettings* qt_settings;
|
||||
|
||||
Reference in New Issue
Block a user