mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 12:49:40 +00:00
More cleanup.
This commit is contained in:
parent
f48f841d31
commit
7640875f9d
2 changed files with 8 additions and 8 deletions
|
@ -116,6 +116,8 @@ bool CSVRender::PagedWorldspaceWidget::adjustCells()
|
|||
}
|
||||
|
||||
void CSVRender::PagedWorldspaceWidget::mouseReleaseEvent (QMouseEvent *event)
|
||||
{
|
||||
if(event->button() == Qt::RightButton)
|
||||
{
|
||||
std::list<TextOverlay *>::iterator iter = mTextOverlays.begin();
|
||||
for(; iter != mTextOverlays.end(); ++iter)
|
||||
|
@ -126,8 +128,7 @@ void CSVRender::PagedWorldspaceWidget::mouseReleaseEvent (QMouseEvent *event)
|
|||
std::cout << "clicked: " << (*iter)->getCaption() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
SceneWidget::mouseReleaseEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
void CSVRender::PagedWorldspaceWidget::updateOverlay()
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
#include "navigation.hpp"
|
||||
#include "lighting.hpp"
|
||||
#include "elements.hpp" // FIXME: for testing only
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue