Skip to content

Commit

Permalink
Some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ic005k committed Oct 8, 2024
1 parent 14c8dac commit 6a2feb3
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 191 deletions.
5 changes: 3 additions & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8103,7 +8103,8 @@ void MainWindow::copyLine(QTableWidget* w, QAction* copyAction) {
QString name = w->objectName();
QString qfile = strConfigPath + name + ".ini";

QItemSelectionModel* selections = w->selectionModel(); // 返回当前的选择模式
QItemSelectionModel* selections =
w->selectionModel(); // 返回当前的选择模式
QModelIndexList selectedsList =
selections->selectedIndexes(); // 返回所有选定的模型项目索引列表

Expand Down Expand Up @@ -9782,7 +9783,7 @@ void MainWindow::on_actionDocumentation_triggered() {
QDesktopServices::openUrl(url_en);
} else {
QUrl url_cn(QString("https://github.com/ic005k/" + strAppName +
"/blob/master/READMe-cn.md"));
"/blob/master/READMe.md"));
QDesktopServices::openUrl(url_cn);
}
}
Expand Down
Loading

0 comments on commit 6a2feb3

Please sign in to comment.