reset files

This commit is contained in:
dranik
2026-05-20 12:17:32 +03:00
parent 3d540b22bf
commit a4b2b3e3ad
4 changed files with 0 additions and 21 deletions
@@ -662,22 +662,13 @@ static UIBezierPath *amneziaScanBracketStrokePath(int corner, CGFloat x0, CGFloa
} @catch (NSException *ex) {
NSLog(@"Start running exception: %@", ex);
}
const BOOL running = [runningSession isRunning];
dispatch_async(dispatch_get_main_queue(), ^{
AmneziaPairingQrOverlayViewController *strongSelf = weakSelf;
if (!strongSelf) {
return;
}
AVCaptureVideoPreviewLayer *pl = strongSelf.previewLayer;
[strongSelf applyTorchFromGlobalFlag];
});
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.35 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
AmneziaPairingQrOverlayViewController *strongSelf = weakSelf;
if (!strongSelf) {
return;
}
AVCaptureVideoPreviewLayer *pl = strongSelf.previewLayer;
});
});
return YES;
@@ -702,7 +693,6 @@ static UIBezierPath *amneziaScanBracketStrokePath(int corner, CGFloat x0, CGFloa
dispatch_async(dispatch_get_main_queue(), ^{
if (gOnScanned) {
gOnScanned(copy.c_str());
} else {
}
});
break;
@@ -62,7 +62,6 @@ public:
public slots:
bool canOpenTvQrPairingPage();
void startTvQrSession();
/** New UUID + QR image; aborts in-flight generate_qr without clearing the code first. */
void rotateTvQrSession();
void cancelTvQrSession();
void cancelAllPairingActivity();
@@ -110,12 +110,6 @@ QVariant ApiAccountInfoModel::data(const QModelIndex &index, int role) const
case IsInAppPurchaseRole: {
return m_accountInfoData.isInAppPurchase;
}
case ActiveDeviceCountRole: {
return m_accountInfoData.activeDeviceCount;
}
case MaxDeviceCountRole: {
return m_accountInfoData.maxDeviceCount;
}
case ConfigurationFilesCountRole: {
return m_accountInfoData.configurationFilesCount;
}
@@ -227,8 +221,6 @@ QHash<int, QByteArray> ApiAccountInfoModel::roleNames() const
roles[IsSubscriptionExpiredRole] = "isSubscriptionExpired";
roles[IsSubscriptionExpiringSoonRole] = "isSubscriptionExpiringSoon";
roles[IsInAppPurchaseRole] = "isInAppPurchase";
roles[ActiveDeviceCountRole] = "activeDeviceCount";
roles[MaxDeviceCountRole] = "maxDeviceCount";
roles[ConfigurationFilesCountRole] = "configurationFilesCount";
return roles;
@@ -26,8 +26,6 @@ public:
IsSubscriptionExpiredRole,
IsSubscriptionExpiringSoonRole,
IsInAppPurchaseRole,
ActiveDeviceCountRole,
MaxDeviceCountRole,
ConfigurationFilesCountRole
};