1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 09:36:37 +00:00

added some iostream garbage.

This commit is contained in:
Marek Kochanowicz 2014-02-12 13:12:58 +01:00
parent 8dfdd87a07
commit c00834a8de
2 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,7 @@
#include <ostream>
#include <stdexcept>
#include <sstream>
#include <iostream>
namespace
{
@ -186,7 +187,7 @@ CSMWorld::UniversalId::UniversalId (Type type, const std::string& id)
mClass = sIdArg[i].mClass;
return;
}
std::cout<<type<<std::endl;
throw std::logic_error ("invalid ID argument UniversalId type");
}

View File

@ -448,7 +448,7 @@ void CSVWorld::Table::mouseMoveEvent (QMouseEvent* event)
drag->setMimeData (mime);
drag->setPixmap (QString::fromStdString (mime->getIcon()));
drag->exec();
std::cout << "startdrag";
std::cout << "startdrag\n";
}
}
@ -456,14 +456,14 @@ void CSVWorld::Table::mouseMoveEvent (QMouseEvent* event)
void CSVWorld::Table::dragEnterEvent(QDragEnterEvent *event)
{
//if (event->mimeData()->hasFormat("text/plain"))
std::cout << "accept drag event";
std::cout << "accept drag event\n";
event->acceptProposedAction();
}
void CSVWorld::Table::dropEvent(QDropEvent *event)
{
std::cout << "drop";
std::cout << "drop\n";
event->acceptProposedAction();
QModelIndex index = indexAt(event->pos());
std::cout << index.row();