| 1791 | event->acceptProposedAction(); |
| 1792 | } |
| 1793 | void MainWindowViewer::dragEnterEvent(QDragEnterEvent *event) |
| 1794 | { |
| 1795 | // accept just text/uri-list mime format |
| 1796 | if (event->mimeData()->hasFormat("text/uri-list")) { |
| 1797 | event->acceptProposedAction(); |
| 1798 | isClient = false; |
| 1799 | } |
| 1800 | } |
| 1801 | |
| 1802 | void MainWindowViewer::adjustToFullSizeSwitch() |
| 1803 | { |