From 77f50c0139f9701df4b8f2a88b09da8307705017 Mon Sep 17 00:00:00 2001 From: alexandr <alexandrmruchok@gmail.com> Date: Thu, 3 Sep 2020 21:31:49 +0300 Subject: [PATCH] [*] translation minor fix; --- quazip/quagzipfile.cpp | 14 +++++++------- vpn/ui/dialogs/AccountScreen.cpp | 4 ---- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/quazip/quagzipfile.cpp b/quazip/quagzipfile.cpp index 9e98e9aa2..f8228bf4d 100644 --- a/quazip/quagzipfile.cpp +++ b/quazip/quagzipfile.cpp @@ -57,27 +57,27 @@ bool QuaGzipFilePrivate::open(FileId id, QIODevice::OpenMode mode, char modeString[2]; modeString[0] = modeString[1] = '\0'; if ((mode & QIODevice::Append) != 0) { - error = QuaGzipFile::tr("QIODevice::Append is not " - "supported for GZIP"); + error = "QIODevice::Append is not " + "supported for GZIP"; return false; } if ((mode & QIODevice::ReadOnly) != 0 && (mode & QIODevice::WriteOnly) != 0) { - error = QuaGzipFile::tr("Opening gzip for both reading" - " and writing is not supported"); + error = "Opening gzip for both reading" + " and writing is not supported"; return false; } else if ((mode & QIODevice::ReadOnly) != 0) { modeString[0] = 'r'; } else if ((mode & QIODevice::WriteOnly) != 0) { modeString[0] = 'w'; } else { - error = QuaGzipFile::tr("You can open a gzip either for reading" - " or for writing. Which is it?"); + error = "You can open a gzip either for reading" + " or for writing. Which is it?"; return false; } gzd = open(id, modeString); if (gzd == NULL) { - error = QuaGzipFile::tr("Could not gzopen() file"); + error = "Could not gzopen() file"; return false; } return true; diff --git a/vpn/ui/dialogs/AccountScreen.cpp b/vpn/ui/dialogs/AccountScreen.cpp index d52326c04..ed6574778 100644 --- a/vpn/ui/dialogs/AccountScreen.cpp +++ b/vpn/ui/dialogs/AccountScreen.cpp @@ -38,10 +38,6 @@ void AccountScreen::initVariantUi(QWidget *a_widget) #else connect(m_ui->btnResetSerial, &QPushButton::clicked, m_serialRemovalMessage, &SerialRemovalConfirmationMessage::show); - -// m_ui->verticalLayout_4->setAlignment(m_ui->btnYearPrice,Qt::AlignHCenter); -// m_ui->verticalLayout_4->setAlignment(m_ui->btnMonthPrice,Qt::AlignHCenter); -// m_ui->verticalLayout_4->setAlignment(m_ui->btnSixMonthPrice,Qt::AlignHCenter); #endif } -- GitLab