Skip to content

Commit

Permalink
docs: Add new logs associated with loading profile files
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk authored Aug 14, 2021
1 parent 386bd2e commit 24db5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commandlineutility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ void CommandLineUtility::parseArgsProfile(const QCommandLineParser &parser)
} else if (profileFileInfo.exists() && ((profileFileInfo.suffix() == "amgp") || (profileFileInfo.suffix() == "xml")))
{
QString tempProfileLocation = profileFileInfo.absoluteFilePath();
qDebug() << "Profile file is set: " << tempProfileLocation;
ControllerOptionsInfo tempInfo = getControllerOptionsList().at(currentListsIndex);
tempInfo.setProfileLocation(tempProfileLocation);
controllerOptionsList.replace(currentListsIndex, tempInfo);
Expand Down
1 change: 1 addition & 0 deletions src/joytabwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,7 @@ void JoyTabWidget::loadConfigFile(QString fileLocation)
QFileInfo fileinfo(fileLocation);
if (fileinfo.exists() && ((fileinfo.suffix() == "xml") || (fileinfo.suffix() == "amgp")))
{
qDebug() << "Loading config file: " << fileLocation;
int searchIndex = configBox->findData(fileinfo.absoluteFilePath());
if (searchIndex == -1)
{
Expand Down

0 comments on commit 24db5b4

Please sign in to comment.