Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
f07bb38e
Commit
f07bb38e
authored
Jan 10, 2011
by
Max-Wilhelm Bruker
Browse files
minor fix
parent
7f7398de
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/userlist.cpp
View file @
f07bb38e
...
@@ -129,9 +129,7 @@ void UserList::showContextMenu(const QPoint &pos, const QModelIndex &index)
...
@@ -129,9 +129,7 @@ void UserList::showContextMenu(const QPoint &pos, const QModelIndex &index)
if
(
actionClicked
==
aDetails
)
{
if
(
actionClicked
==
aDetails
)
{
UserInfoBox
*
infoWidget
=
new
UserInfoBox
(
client
,
true
,
this
,
Qt
::
Dialog
|
Qt
::
WindowTitleHint
|
Qt
::
CustomizeWindowHint
|
Qt
::
WindowCloseButtonHint
);
UserInfoBox
*
infoWidget
=
new
UserInfoBox
(
client
,
true
,
this
,
Qt
::
Dialog
|
Qt
::
WindowTitleHint
|
Qt
::
CustomizeWindowHint
|
Qt
::
WindowCloseButtonHint
);
infoWidget
->
setAttribute
(
Qt
::
WA_DeleteOnClose
);
infoWidget
->
setAttribute
(
Qt
::
WA_DeleteOnClose
);
infoWidget
->
setFixedSize
(
infoWidget
->
sizeHint
());
infoWidget
->
updateInfo
(
userName
);
infoWidget
->
updateInfo
(
userName
);
infoWidget
->
show
();
}
else
if
(
actionClicked
==
aChat
)
}
else
if
(
actionClicked
==
aChat
)
emit
openMessageDialog
(
userName
,
true
);
emit
openMessageDialog
(
userName
,
true
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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