Skip to content

Commit

Permalink
Don't allow the doc string tooltip steal focus
Browse files Browse the repository at this point in the history
Was a problem on Windows XP and Mac OS X
  • Loading branch information
aselle committed Nov 24, 2013
1 parent 6875541 commit 07341d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SeExprEditor/SeExprEdPopupDocumentation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ SeExprEdPopupDocumentation::SeExprEdPopupDocumentation(QWidget* parent,const QPo
setLayout(layout);
layout->addWidget(label);

setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint |Qt::X11BypassWindowManagerHint );
setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint |Qt::X11BypassWindowManagerHint);
setAttribute(Qt::WA_ShowWithoutActivating);
setFocusPolicy(Qt::NoFocus);
move(placecr);
raise();
Expand Down

0 comments on commit 07341d6

Please sign in to comment.