From 4d23292ad31902d6d77a00840fb272ebae33895c Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Tue, 16 May 2017 14:39:27 +0400 Subject: [PATCH] Empty error message box is no fun --- companion/src/storage/categorized.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/companion/src/storage/categorized.cpp b/companion/src/storage/categorized.cpp index c9bfc310c..14749c92d 100644 --- a/companion/src/storage/categorized.cpp +++ b/companion/src/storage/categorized.cpp @@ -89,6 +89,7 @@ bool CategorizedStorageFormat::load(RadioData & radioData) radioData.models.resize(modelIndex + 1); } if (!loadModelFromByteArray(radioData.models[modelIndex], modelBuffer)) { + setError(QObject::tr("Error loading models")); return false; } strncpy(radioData.models[modelIndex].filename, qPrintable(fileName), sizeof(radioData.models[modelIndex].filename));