Skip to content

Commit

Permalink
Fix icons loading for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKepzie committed Jul 21, 2015
1 parent 4e5a9d6 commit 18a2af7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Gui/KnobGuiTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1523,8 +1523,9 @@ Button_KnobGui::createWidget(QHBoxLayout* layout)

QStringList paths = appPTR->getAllNonOFXPluginsPaths();
for (int i = 0; i < paths.size(); ++i) {
filePath = paths[i] + QChar('/') + filePath;
if (QFile::exists(filePath)) {
QString tmp = paths[i] + QChar('/') + filePath;
if (QFile::exists(tmp)) {
filePath = tmp;
break;
}
}
Expand Down

0 comments on commit 18a2af7

Please sign in to comment.