Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7e46c190
Commit
7e46c190
authored
Feb 07, 2013
by
Sebastian Eichelbaum
Browse files
[FIX] tool windows do not work properly on some specific window managers
parent
ff9ce811
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/qt4gui/WQtMessagePopup.cpp
src/qt4gui/WQtMessagePopup.cpp
+2
-0
src/qt4gui/networkEditor/WQtNetworkItem.cpp
src/qt4gui/networkEditor/WQtNetworkItem.cpp
+2
-1
No files found.
src/qt4gui/WQtMessagePopup.cpp
View file @
7e46c190
...
...
@@ -57,6 +57,8 @@ WQtMessagePopup::WQtMessagePopup( QWidget* parent, const QString& title, const Q
{
setAutoClose
(
true
);
setWindowRole
(
"MessagePopup"
);
// these settings seem to be ignored somehow
setWindowModality
(
Qt
::
NonModal
);
...
...
src/qt4gui/networkEditor/WQtNetworkItem.cpp
View file @
7e46c190
...
...
@@ -402,7 +402,8 @@ void WQtNetworkItem::mouseDoubleClickEvent( QGraphicsSceneMouseEvent* /* event *
QScrollArea
*
sa
=
new
QScrollArea
(
m_networkEditor
);
sa
->
setWidget
(
props
);
sa
->
setWidgetResizable
(
true
);
sa
->
setWindowFlags
(
Qt
::
Tool
);
sa
->
setWindowFlags
(
Qt
::
Window
);
sa
->
setWindowRole
(
"Properties"
);
sa
->
setWindowTitle
(
QString
::
fromStdString
(
"Properties: "
+
name
)
);
sa
->
show
();
m_propertyToolWindow
=
sa
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment