Skip to content

Commit 5093754

Browse files
committed
Fix gameList to Pointer
To fit the Library
1 parent 359dc84 commit 5093754

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fusioncli.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void FusionCLI::getAllGames() {
8787
qDebug() << "Found " << gameList.length() << " games.";
8888

8989
for(int i=0;i<gameList.length();++i) {
90-
games.append(getGame(&gameList[i]));
90+
games.append(getGame(gameList[i]));
9191
}
9292

9393

fusioncli.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public slots:
3030
void print(QList<QVariant> list, QString title);
3131
void print(QVariant list);
3232
QTextStream *q;
33-
QList<FGame> gameList;
33+
QList<FGame*> gameList;
3434
void getGameByID(QString ID);
3535
};
3636

0 commit comments

Comments
 (0)