File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ void Window::checkForUpdatesReply(QNetworkReply* reply) {
362
362
QMessageBox::critical (this , tr (" Error" ), tr (" Error occurred checking for updates!" ));
363
363
return ;
364
364
}
365
- auto parseFailure = [=] {
365
+ const auto parseFailure = [=] {
366
366
QMessageBox::critical (this , tr (" Error" ), tr (" Invalid JSON response was retrieved checking for updates!" ));
367
367
};
368
368
QJsonDocument response = QJsonDocument::fromJson (QString (reply->readAll ()).toUtf8 ());
@@ -445,7 +445,7 @@ void Window::addDir(const QString& startDir) {
445
445
446
446
bool Window::removeFile (const QString& path) {
447
447
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));
449
449
return false ;
450
450
}
451
451
this ->fileViewer ->removeFile (path);
You can’t perform that action at this time.
0 commit comments