Several changes.

This commit is contained in:
Gres 2018-02-23 14:01:47 +03:00
parent 4499e94c44
commit 670fc64d9a
5 changed files with 18 additions and 10 deletions

View File

@ -29,8 +29,8 @@ SettingsEditor::SettingsEditor (const LanguageHelper &dictionary, QWidget *paren
ui->updateCombo->addItems (updateTypes);
connect (ui->tessdataButton, SIGNAL (clicked ()), SLOT (openTessdataDialog ()));
connect (ui->tessdataEdit, SIGNAL (textChanged (const QString &)),
SLOT (initOcrLangCombo (const QString &)));
connect (ui->tessdataEdit, SIGNAL (textChanged (const QString&)),
SLOT (initOcrLangCombo (const QString&)));
connect (ui->recognizerFixTable, SIGNAL (itemChanged (QTableWidgetItem *)),
SLOT (recognizerFixTableItemChanged (QTableWidgetItem *)));
@ -200,7 +200,7 @@ void SettingsEditor::loadSettings () {
RecognizerHelper::Subs subs = recognizerHelper_->subs ();
ui->recognizerFixTable->setRowCount (subs.size ());
int row = 0;
foreach (const RecognizerHelper::Sub & sub, subs) {
foreach (const RecognizerHelper::Sub &sub, subs) {
if (!initSubsTableRow (row, sub.language)) {
continue;
}

View File

@ -28,8 +28,8 @@ WebTranslator::WebTranslator ()
connect (view_->page ()->networkAccessManager (), SIGNAL (finished (QNetworkReply *)),
this, SLOT (replyFinished (QNetworkReply *)));
connect (view_->page ()->networkAccessManager (),
SIGNAL (sslErrors (QNetworkReply *, QList<QSslError>)),
this, SLOT (handleSslErrors (QNetworkReply *, QList<QSslError>)));
SIGNAL (sslErrors (QNetworkReply *,QList<QSslError>)),
this, SLOT (handleSslErrors (QNetworkReply *,QList<QSslError>)));
translationTimeout_.setSingleShot (true);
connect (&translationTimeout_, SIGNAL (timeout ()), SLOT (abortTranslation ()));

View File

@ -1,5 +1,9 @@
Changes.
2.0.2:
* Added force translator rotation option.
2.0.1:
* Fixed installer.

View File

@ -1,5 +1,9 @@
Изменения.
2.0.2:
* Добавлена настройка принудительной смены переводчиков.
2.0.1:
* Исправлен установщик.

View File

@ -1,13 +1,13 @@
{
"version": 1,
"url": "https://cdn.rawgit.com/OneMoreGres/ScreenTranslator/master/version.json",
"url": "https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/master/version.json",
"Application": {
"version": 1,
"compatibleVersion": 1,
"version": 2,
"compatibleVersion": 2,
"built_in": true,
"versionString": "2.0.0",
"versionString": "2.0.2",
"permissions": "0x7755",
"url_win": "https://github.com/OneMoreGres/ScreenTranslator/releases/download/2.0.0/ScreenTranslator.exe",
"url_win": "https://github.com/OneMoreGres/ScreenTranslator/releases/download/2.0.2/ScreenTranslator.exe",
"path_win": "ScreenTranslator.exe",
"url_linux": "disabled",
"path_linux": "ScreenTranslator"