forked from teamnwah/openmw-tes3coop
remove pop-up message on load failure
This commit is contained in:
parent
dece4e2640
commit
f24c1845b6
1 changed files with 0 additions and 3 deletions
|
@ -8,7 +8,6 @@
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QCloseEvent>
|
#include <QCloseEvent>
|
||||||
#include <QListWidget>
|
#include <QListWidget>
|
||||||
#include <QMessageBox>
|
|
||||||
|
|
||||||
#include "../../model/doc/document.hpp"
|
#include "../../model/doc/document.hpp"
|
||||||
|
|
||||||
|
@ -107,8 +106,6 @@ void CSVDoc::LoadingDocument::abort (const std::string& error)
|
||||||
mAborted = true;
|
mAborted = true;
|
||||||
mError->setText (QString::fromUtf8 (("<font color=red>Loading failed: " + error + "</font>").c_str()));
|
mError->setText (QString::fromUtf8 (("<font color=red>Loading failed: " + error + "</font>").c_str()));
|
||||||
mButtons->setStandardButtons (QDialogButtonBox::Close);
|
mButtons->setStandardButtons (QDialogButtonBox::Close);
|
||||||
QMessageBox::critical(this, tr("OpenCS Loading Failed"),
|
|
||||||
QString::fromUtf8 (("Loading failed:\n" + error).c_str()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVDoc::LoadingDocument::addMessage (const std::string& message)
|
void CSVDoc::LoadingDocument::addMessage (const std::string& message)
|
||||||
|
|
Loading…
Reference in a new issue