Qt: Add translation for main window name

This commit is contained in:
wheremyfoodat 2024-12-03 17:05:27 +02:00 committed by GitHub
parent 9aacc412ca
commit 28461a1d44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
#include "version.hpp"
MainWindow::MainWindow(QApplication* app, QWidget* parent) : QMainWindow(parent), keyboardMappings(InputMappings::defaultKeyboardMappings()) {
setWindowTitle("Alber");
setWindowTitle(tr("Alber"));
// Enable drop events for loading ROMs
setAcceptDrops(true);