Use applicationName() for window titles, clean up some remaining TODO items

This commit is contained in:
GriffinR
2024-12-14 16:22:28 -05:00
parent 4209c3e3f8
commit bdd64a6c6b
24 changed files with 221 additions and 160 deletions

View File

@@ -395,7 +395,7 @@ QString ProjectSettingsEditor::chooseProjectFile(const QString &defaultFilepath)
if (!path.startsWith(this->baseDir)){
// Most of Porymap's file-parsing code for project files will assume that filepaths
// are relative to the root project folder, so we enforce that here.
QMessageBox::warning(this, "Failed to set custom filepath",
QMessageBox::warning(this, QApplication::applicationName(),
QString("Custom filepaths must be inside the root project folder '%1'").arg(this->baseDir));
return QString();
}