We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca2c70c commit d64446fCopy full SHA for d64446f
src/DrawingWidget.cpp
@@ -21,6 +21,7 @@ extern "C" {
21
}
22
23
extern WhiteBoard *board;
24
+extern QWidget * mainWidget;
25
extern QMainWindow* mainWindow;
26
extern DrawingWidget *drawing;
27
@@ -54,7 +55,7 @@ class CursorStorage {
54
55
if(!images.contains(id)){
56
labels[id] = new QLabel("");
57
labels[id]->setStyleSheet(QString("background-color: none;"));
- images[id] = new QWidget(mainWindow);
58
+ images[id] = new QWidget(mainWidget);
59
images[id]->stackUnder(drawing);
60
layouts[id] = new QVBoxLayout(images[id]);
61
layouts[id]->addWidget(labels[id]);
0 commit comments