some cleanup

This commit is contained in:
Marc Zinnschlag 2013-03-12 14:51:16 +01:00
parent 170451cb79
commit 10fad47a81
2 changed files with 1 additions and 8 deletions

View file

@ -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()
{

View file

@ -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