mirror of
https://github.com/ckb-next/ckb-next.git
synced 2026-10-10 12:27:21 -04:00
gui: Fix CkbMainBackgroundColour on Plasma
This commit is contained in:
@@ -26,8 +26,7 @@ public:
|
||||
QTabWidget* t = new QTabWidget(parent);
|
||||
t->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
t->setFixedSize(200, 200);
|
||||
t->setAutoFillBackground(true);
|
||||
|
||||
t->addTab(new QWidget(), "");
|
||||
QPixmap p = t->grab();
|
||||
c = p.toImage().pixelColor(100, 180);
|
||||
delete t;
|
||||
|
||||
Reference in New Issue
Block a user