Skip to content

Commit

Permalink
Fixes QIcon::hasThemeIcon() behavior with our Icon Loader Engine
Browse files Browse the repository at this point in the history
It was always returning true.
Closes #98.
Closes lxqt/lxqt#1081.
  • Loading branch information
luis-pereira committed Aug 5, 2016
1 parent 8de514a commit 43930e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdgiconloader/xdgiconloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ void XdgIconLoaderEngine::virtual_hook(int id, void *data)
case QIconEngine::IconNameHook:
{
QString &name = *reinterpret_cast<QString*>(data);
name = m_iconName;
name = m_info.iconName;
}
break;
default:
Expand Down

0 comments on commit 43930e6

Please sign in to comment.