2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

fixed speed in os x qt, added langs for report spam confirm, fixed os x drag n drop forward

This commit is contained in:
John Preston
2015-09-12 22:00:56 +03:00
parent 8f0606c9b6
commit f431591bef
16 changed files with 2412 additions and 3 deletions

View File

@@ -803,7 +803,7 @@ void OverviewInner::onDragExec() {
}
drag->setMimeData(mimeData);
drag->exec(Qt::CopyAction);
dragActionUpdate(QCursor::pos());
if (App::main()) App::main()->updateAfterDrag();
return;
} else {
HistoryItem *pressedLnkItem = App::pressedLinkItem(), *pressedItem = App::pressedItem();
@@ -828,7 +828,7 @@ void OverviewInner::onDragExec() {
drag->setMimeData(mimeData);
drag->exec(Qt::CopyAction);
dragActionUpdate(QCursor::pos());
if (App::main()) App::main()->updateAfterDrag();
return;
}
}
@@ -2820,6 +2820,10 @@ void OverviewWidget::updateScrollColors() {
_scroll.updateColors(App::historyScrollBarColor(), App::historyScrollBgColor(), App::historyScrollBarOverColor(), App::historyScrollBgOverColor());
}
void OverviewWidget::updateAfterDrag() {
_inner.dragActionUpdate(QCursor::pos());
}
OverviewWidget::~OverviewWidget() {
onClearSelected();
updateTopBarSelection();