remove cout

cout causes lag
This commit is contained in:
Yonghye Kwon 2020-08-22 01:09:23 +09:00 committed by GitHub
parent 054dd00f69
commit 2c47692b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,6 @@ label_img::label_img(QWidget *parent)
void label_img::mouseMoveEvent(QMouseEvent *ev)
{
std::cout<< "moved"<< std::endl;
setMousePosition(ev->x(), ev->y());
showImage();
@ -33,8 +31,6 @@ void label_img::mouseMoveEvent(QMouseEvent *ev)
void label_img::mousePressEvent(QMouseEvent *ev)
{
std::cout<< "clicked"<< std::endl;
setMousePosition(ev->x(), ev->y());
if(ev->button() == Qt::RightButton)
@ -74,7 +70,6 @@ void label_img::mousePressEvent(QMouseEvent *ev)
void label_img::mouseReleaseEvent(QMouseEvent *ev)
{
std::cout<< "released"<< std::endl;
emit Mouse_Release();
}