diff --git a/quazip/quagzipfile.cpp b/quazip/quagzipfile.cpp index 9e98e9aa2710f670d0cf5e0e5bdd485d82f56006..f8228bf4d1574855762845eb72631e1f3c58cbfc 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 d52326c043a7e5e88f3a356c83d8c34dd2b3ab23..ed6574778edf055c4efc9605ca07512f95c0ce6a 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 }