disable movePage icons + drag and drop thumbnail sized correctly

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent ae559ac3d4
commit 3c5d10e04e
  1. 2
      src/gui/UBBoardThumbnailsView.cpp
  2. 3
      src/gui/UBThumbnailWidget.cpp

@ -219,7 +219,7 @@ void UBBoardThumbnailsView::mousePressAndHoldEvent(QPoint pos)
mDropSource = item;
mDropTarget = item;
QPixmap pixmap = item->widget()->grab().scaledToWidth(UBSettings::defaultThumbnailWidth);
QPixmap pixmap = item->widget()->grab().scaledToWidth(mThumbnailWidth/2);
QDrag *drag = new QDrag(this);
drag->setMimeData(new QMimeData());

@ -901,10 +901,11 @@ void UBDraggableThumbnail::mousePressEvent(QGraphicsSceneMouseEvent *event)
deletePage();
else if(getIcon("duplicate")->triggered(p.x()))
duplicatePage();
/*
else if(movableUp() && getIcon("moveUp")->triggered(p.x()))
moveUpPage();
else if (movableDown() && getIcon("moveDown")->triggered(p.x()))
moveDownPage();
moveDownPage();*/
}
event->accept();

Loading…
Cancel
Save