Skip to content

Commit d06548d

Browse files
authored
[48_11] Disable toolbars on wasm
1 parent 4f6b74a commit d06548d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Plugins/Qt/qt_tm_widget.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@ qt_tm_widget_rep::qt_tm_widget_rep(int mask, command _quit)
119119
visibility[6] = (mask & 64) == 64; // side tools #0
120120
visibility[7] = (mask & 128) == 128; // bottom tools
121121

122+
#ifdef OS_WASM
123+
visibility[1] = false; // main
124+
visibility[2] = false; // mode
125+
visibility[3] = false; // focus
126+
visibility[4] = false; // user
127+
#endif
128+
122129
// general setup for main window
123130

124131
QMainWindow* mw= mainwindow ();

0 commit comments

Comments
 (0)