mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-08 11:51:23 -04:00
some cleanup
This commit is contained in:
parent
170451cb79
commit
10fad47a81
@ -238,9 +238,7 @@ CSMDoc::Document::Document (const std::vector<boost::filesystem::path>& files, b
|
||||
}
|
||||
|
||||
CSMDoc::Document::~Document()
|
||||
{
|
||||
qDebug() << "document destroyed";
|
||||
}
|
||||
{}
|
||||
|
||||
QUndoStack& CSMDoc::Document::getUndoStack()
|
||||
{
|
||||
|
@ -103,11 +103,6 @@ bool CSVDoc::ViewManager::closeRequest (View *view)
|
||||
{
|
||||
bool last = countViews (view->getDocument())<=1;
|
||||
|
||||
/// \todo check if save is in progress -> warn user about possible data loss
|
||||
/// \todo check if document has not been saved -> return false and start close dialogue
|
||||
|
||||
CSMDoc::Document *document = view->getDocument();
|
||||
|
||||
if (last)
|
||||
continueWithClose = notifySaveOnClose (view);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user