2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

openal audio and voice messages prepared for os x

This commit is contained in:
John Preston
2014-09-04 16:23:28 +04:00
parent 9bbc99a6b4
commit 57cbc06fd8
10 changed files with 109 additions and 20 deletions

View File

@@ -2696,7 +2696,7 @@ void HistoryWidget::shareContactConfirmation(const QString &phone, const QString
App::wnd()->activateWindow();
confirmWithText = withText;
confirmImageId = -1;
confirmImageId = 0xFFFFFFFFFFFFFFFFL;
App::wnd()->showLayer(new PhotoSendBox(phone, fname, lname));
}
@@ -2742,7 +2742,7 @@ void HistoryWidget::onPhotoFailed(quint64 id) {
}
void HistoryWidget::confirmShareContact(const QString &phone, const QString &fname, const QString &lname) {
if (-1 == confirmImageId) {
if (0xFFFFFFFFFFFFFFFFL == confirmImageId) {
if (confirmWithText) {
onSend();
}