corrected some semantics

This commit is contained in:
itsmattkc
2018-11-20 19:52:09 +11:00
parent ee683fd6d1
commit bf0874dbe5
2 changed files with 10 additions and 7 deletions
+3 -3
View File
@@ -44,8 +44,8 @@ ViewerWidget::ViewerWidget(QWidget *parent) :
format.setDepthBufferSize(24);
setFormat(format);
// error handler - retries after 500ms if we couldn't get the entire image
retry_timer.setInterval(500);
// error handler - retries after 50ms if we couldn't get the entire image
retry_timer.setInterval(50);
connect(&retry_timer, SIGNAL(timeout()), this, SLOT(retry()));
setContextMenuPolicy(Qt::CustomContextMenu);
@@ -137,7 +137,7 @@ void ViewerWidget::mouseMoveEvent(QMouseEvent* event) {
} else {
QDrag* drag = new QDrag(this);
QMimeData* mimeData = new QMimeData;
mimeData->setText("h");
mimeData->setText("h"); // QMimeData will fail without some kind of data
drag->setMimeData(mimeData);
drag->exec();
}