Place the native drag fixture beside the file manager

This commit is contained in:
evgeny committed 2026-10-10 01:43:06 +02:00
1 parent 3a6d075cbb
commit f7ff2df9a7
1 file changed
+2 -1
@@ -174,7 +174,8 @@ private slots:
QString nativeDestination = qEnvironmentVariable("UTUN_MEMBER_FILES_NATIVE_DEST");
if (!nativeDestination.isEmpty()) {
for (int i = 0; i < 120; ++i) directories["folder"].append(QString("many-%1.txt").arg(i));
browser.setWindowTitle("uTun native file copy test"); browser.raise(); browser.activateWindow();
browser.setWindowTitle("uTun native file copy test"); browser.resize(700, 600); browser.move(20, 40);
browser.raise(); browser.activateWindow();
QTRY_VERIFY(browser.isActiveWindow());
QPoint source = tree->viewport()->mapToGlobal(tree->visualItemRect(tree->topLevelItem(0)).center());
QFile control(nativeDestination + "/source-position"); QVERIFY(control.open(QIODevice::WriteOnly));