Fix QPen being completely broken
This commit is contained in:
parent
3479606f83
commit
c91856641c
@ -10,7 +10,7 @@ Napi::FunctionReference QPaletteWrap::constructor;
|
||||
|
||||
Napi::Object QPaletteWrap::init(Napi::Env env, Napi::Object exports) {
|
||||
Napi::HandleScope scope(env);
|
||||
char CLASSNAME[] = "QPen";
|
||||
char CLASSNAME[] = "QPalette";
|
||||
Napi::Function func =
|
||||
DefineClass(env, CLASSNAME,
|
||||
{InstanceMethod("color", &QPaletteWrap::color),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user