From 58dc8db5393efab2345e9677069af2a02032ddc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sun, 17 Nov 2013 03:09:52 +0100 Subject: [PATCH] Fix message boxes with data loading errors information. --- datamanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datamanager.cpp b/datamanager.cpp index 58d7201..f38ed9f 100644 --- a/datamanager.cpp +++ b/datamanager.cpp @@ -135,7 +135,7 @@ std::shared_ptr DataManager::loadSingleRun(QDir& dir) ret = m_dfl.loadSingleRun(dir, dataFiles); if (ret == DataFilesLoader::ReturnCode::E_NO_FILES) { - QMessageBox::warning(nullptr, ME_SENDER_STR, "Directory " + dir.path() + " does not contain any ChemStation data files."); + QMessageBox::warning(nullptr, "Data loading", "Directory '" + dir.path() + "'' does not seem to contain ChemStation run data."); return nullptr; } if (ret != DataFilesLoader::ReturnCode::SUCCESS) { @@ -297,7 +297,7 @@ void DataManager::onLoadSequence(const QString& dir) } Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, "Single runs loaded, count: " + QString::number(nSeq->count())); if (nSeq->count() < 1) { - QMessageBox::warning(nullptr, "Data loading", "This directory does not appear to contain ChemStation sequence."); + QMessageBox::warning(nullptr, "Data loading", "Directory '" + rootDir.path() + "' does not seem to contain ChemStation sequence."); return; } -- 2.43.5