|
|
|
|
@ -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)); |
|
|
|
|
|