add quick item to quick view dynamically
This commit is contained in:
@@ -20,6 +20,11 @@ public:
|
||||
|
||||
return content;
|
||||
}
|
||||
|
||||
template <typename Base, typename T>
|
||||
static inline bool instanceof (const T *) {
|
||||
return std::is_base_of<Base, T>::value;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // UTILS_H
|
||||
|
Reference in New Issue
Block a user