Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ic005k committed Apr 14, 2021
1 parent 44c3e55 commit 46dada3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
17 changes: 8 additions & 9 deletions mainwindow.cpp
Expand Up @@ -96,7 +96,7 @@ MainWindow::MainWindow(QWidget* parent)

loadLocal();

CurVerison = "1.0.55";
CurVerison = "1.0.56";
ver = "QtiASL V" + CurVerison + " ";
setWindowTitle(ver);

Expand Down Expand Up @@ -3695,6 +3695,7 @@ void MainWindow::init_info_edit()
ui->dockWidgetContents_6->layout()->setMargin(0);
ui->dockWidgetContents_6->layout()->setSpacing(0);
ui->gridLayout_2->setMargin(0);
ui->gridLayout_2->setSpacing(0);
ui->gridLayout_3->setMargin(0);
ui->gridLayout_4->setMargin(0);
ui->gridLayout_5->setMargin(0);
Expand Down Expand Up @@ -3815,9 +3816,8 @@ void MainWindow::init_toolbar()
ui->toolBar->addWidget(ui->editFind);
ui->editFind->setFixedWidth(320);

//#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
ui->editFind->lineEdit()->setPlaceholderText(tr("Find") + " (" + tr("History entries") + ": " + QString::number(ui->editFind->count()) + ")");
//#endif

ui->editFind->lineEdit()->setClearButtonEnabled(true);
//ui->editFind->setAutoCompletionCaseSensitivity(Qt::CaseSensitive);

Expand Down Expand Up @@ -5423,6 +5423,7 @@ int MainWindow::parse_UpdateJSON(QString str)
QString warningStr = tr("New version detected!") + "\n" + tr("Version: ") + "V" + Verison + "\n" + tr("Published at: ") + UpdateTime + "\n" + tr("Release Notes: ") + "\n" + ReleaseNote;
int ret = QMessageBox::warning(this, "", warningStr, tr("Download"), tr("Cancel"));
if (ret == 0) {
Url = "https://github.com/ic005k/QtiASL/releases/latest";
QDesktopServices::openUrl(QUrl(Url));
}
} else
Expand Down Expand Up @@ -5496,9 +5497,9 @@ void MainWindow::on_editFind_editTextChanged(const QString& arg1)

clearSearchHighlight(textEdit);
lblCount->setText("0");
//#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))

ui->editFind->lineEdit()->setPlaceholderText(tr("Find") + " (" + tr("History entries") + ": " + QString::number(ui->editFind->count()) + ")");
//#endif

if (red < 55) {

QPalette palette;
Expand Down Expand Up @@ -5574,9 +5575,8 @@ void MainWindow::on_editFind_currentIndexChanged(const QString& arg1)
void MainWindow::on_clearFindText()
{
ui->editFind->clear();
//#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))

ui->editFind->lineEdit()->setPlaceholderText(tr("Find") + " (" + tr("History entries") + ": " + QString::number(ui->editFind->count()) + ")");
//#endif
}

QString MainWindow::getTabTitle()
Expand Down Expand Up @@ -6021,10 +6021,9 @@ void MainWindow::loadFindString()
findTextList.append(item);
}
ui->editFind->addItems(findTextList);
//#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))

ui->editFind->lineEdit()->setPlaceholderText(tr("Find") + " (" + tr("History entries") + ": " + QString::number(ui->editFind->count()) + ")");
ui->editFind->setCurrentText("");
//#endif
}
}

Expand Down
6 changes: 3 additions & 3 deletions myapp.rc
Expand Up @@ -11,7 +11,7 @@ IDI_ICON1 ICON DISCARDABLE "my.ico"
#endif

VS_VERSION_INFO VERSIONINFO FILEVERSION 1,
0, 55, 0 PRODUCTVERSION 1, 0, 0,
0, 56, 0 PRODUCTVERSION 1, 0, 0,
10 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
Expand All @@ -20,8 +20,8 @@ IDI_ICON1 ICON DISCARDABLE "my.ico"
#endif
FILEOS VOS__WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE 0x0L BEGIN BLOCK
"StringFileInfo" BEGIN BLOCK "080404b0" BEGIN VALUE "CompanyName",
"" VALUE "FileDescription", "" VALUE "FileVersion", "1.0.55.0\0" VALUE "ProductVersion",
"1.0.55.0\0" VALUE "LegalCopyright", "\0" VALUE "LegalTrademarks", "" VALUE "OriginalFilename",
"" VALUE "FileDescription", "" VALUE "FileVersion", "1.0.56.0\0" VALUE "ProductVersion",
"1.0.56.0\0" VALUE "LegalCopyright", "\0" VALUE "LegalTrademarks", "" VALUE "OriginalFilename",
"QtiASL\0" VALUE "ProductName", "QtiASL" VALUE "InternalName",
"QtiASL\0" END END

Expand Down

0 comments on commit 46dada3

Please sign in to comment.