dde-dock/frame/util/themeappicon.h
Hualet Wang db3fe712d3 Revert "appitem: make fetch icon asynchronous"
This reverts commit a5b044e58532f7bb3106730cae53329258cec2dc.

because QIcon used with multithread are not safe

Change-Id: I1502a23358b7b2f90d164f36861870f6c9df280c
2017-06-27 09:25:37 +08:00

17 lines
299 B
C++

#ifndef THEMEAPPICON_H
#define THEMEAPPICON_H
#include <QObject>
class ThemeAppIcon : public QObject
{
Q_OBJECT
public:
explicit ThemeAppIcon(QObject *parent = 0);
~ThemeAppIcon();
static const QPixmap getIcon(const QString iconName, const int size);
};
#endif // THEMEAPPICON_H