MCPcopy Create free account
hub / github.com/YACReader/yacreader / dragEnterEvent

Method dragEnterEvent

YACReader/main_window_viewer.cpp:1793–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1791 event->acceptProposedAction();
1792}
1793void 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
1802void MainWindowViewer::adjustToFullSizeSwitch()
1803{

Callers

nothing calls this directly

Calls 1

mimeDataMethod · 0.45

Tested by

no test coverage detected