Skip to content

Commit 8bd80a3

Browse files
fix: add exclamation point to file removal error message
1 parent 9bac7b5 commit 8bd80a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/Window.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ void Window::checkForUpdatesReply(QNetworkReply* reply) {
362362
QMessageBox::critical(this, tr("Error"), tr("Error occurred checking for updates!"));
363363
return;
364364
}
365-
auto parseFailure = [=] {
365+
const auto parseFailure = [=] {
366366
QMessageBox::critical(this, tr("Error"), tr("Invalid JSON response was retrieved checking for updates!"));
367367
};
368368
QJsonDocument response = QJsonDocument::fromJson(QString(reply->readAll()).toUtf8());
@@ -445,7 +445,7 @@ void Window::addDir(const QString& startDir) {
445445

446446
bool Window::removeFile(const QString& path) {
447447
if (!this->vpk->removeEntry(path.toStdString())) {
448-
QMessageBox::critical(this, tr("Error Removing File"), tr("There was an error removing the file at \"%1\"").arg(path));
448+
QMessageBox::critical(this, tr("Error Removing File"), tr("There was an error removing the file at \"%1\"!").arg(path));
449449
return false;
450450
}
451451
this->fileViewer->removeFile(path);

0 commit comments

Comments
 (0)