summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/selectprofileform.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/selectprofileform.cpp b/src/gui/selectprofileform.cpp
index 8fc395e..e648c39 100644
--- a/src/gui/selectprofileform.cpp
+++ b/src/gui/selectprofileform.cpp
@@ -231,9 +231,13 @@ void SelectProfileForm::runProfile()
for (int i = 0; i < profileListView->count(); i++)
{
QListWidgetItem* item = profileListView->item(i);
- QString profile = item->text();
- profile.append(USER_FILE_EXT);
- selectedProfiles.push_back(profile.toStdString());
+
+ if (item->checkState() == Qt::Checked)
+ {
+ QString profile = item->text();
+ profile.append(USER_FILE_EXT);
+ selectedProfiles.push_back(profile.toStdString());
+ }
}
if (selectedProfiles.empty()) {