diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-01-25 20:52:17 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-01-25 20:52:17 +0000 |
commit | de8ca77801f1f7de1e553967f80147ad89345912 (patch) | |
tree | 211b8ab371938fd3917324bde2bba0d206d9631e /FaceTrackNoIR/FaceTrackNoIR.cpp | |
parent | 5a63e2a7735fa982885b1164e35aedbaabf95047 (diff) |
Fixed beta filter-initialize
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@44 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.cpp')
-rw-r--r-- | FaceTrackNoIR/FaceTrackNoIR.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.cpp b/FaceTrackNoIR/FaceTrackNoIR.cpp index cec69d44..8c678100 100644 --- a/FaceTrackNoIR/FaceTrackNoIR.cpp +++ b/FaceTrackNoIR/FaceTrackNoIR.cpp @@ -405,8 +405,9 @@ void FaceTrackNoIR::loadSettings() { disconnect(ui.iconcomboProfile, SIGNAL(currentIndexChanged(int)), this, SLOT(profileSelected(int)));
ui.iconcomboProfile->clear();
for ( int i = 0; i < iniFileList.size(); i++) {
- ui.iconcomboProfile->addItem(iniFileList.at(i));
+ ui.iconcomboProfile->addItem(QIcon(QCoreApplication::applicationDirPath() + "/images/Settings16.png"), iniFileList.at(i));
if (iniFileList.at(i) == pathInfo.fileName()) {
+ ui.iconcomboProfile->setItemIcon(i, QIcon(QCoreApplication::applicationDirPath() + "/images/SettingsOpen16.png"));
ui.iconcomboProfile->setCurrentIndex( i );
}
}
|