Skip to content

Commit

Permalink
Fixes winpoint bug
Browse files Browse the repository at this point in the history
Signed-off-by: Guigas7 <jimhorton7@outlook.com>
  • Loading branch information
guigas7 committed Nov 9, 2021
1 parent c844409 commit bb0beab
Show file tree
Hide file tree
Showing 3 changed files with 787 additions and 60 deletions.
2 changes: 1 addition & 1 deletion StreamAssistant.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.15.0, 2021-11-08T10:11:05. -->
<!-- Written by QtCreator 4.15.0, 2021-11-08T10:55:46. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down
4 changes: 2 additions & 2 deletions checkboxwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ void CheckBoxWidget::handleCheck(QString importingDir, QWidget *wid, QString tea
if (directory.exists()) {
QStringList winPointsList = directory.entryList(QDir::Files);
for (int i = 0; i < winPointsList.size(); ++i) {
// Get original source winpoint file
winPointFile = this->findImageWithExtension(teamPointsDir + "/" + winPointsList.at(i));
winPointFile = teamPointsDir + winPointsList.at(i);
qDebug() << "Winpoint file: " + winPointFile;
// Save on sets folder with Game number _ file without extension
savingPointFile = savingDir + this->getFileToSave() + "_" + winPointsList.at(i).split(".").at(0);
this->copyFile(winPointFile, savingPointFile);
Expand Down
Loading

0 comments on commit bb0beab

Please sign in to comment.