Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Krfb
Commits
df9e6d62
Commit
df9e6d62
authored
Aug 31, 2021
by
Laurent Montel
😁
Browse files
use nullptr
parent
b55de964
Changes
2
Hide whitespace changes
Inline
Side-by-side
krfb/mainwindow.cpp
View file @
df9e6d62
...
...
@@ -39,7 +39,7 @@
class
TCP
:
public
QWidget
,
public
Ui
::
TCP
{
public:
TCP
(
QWidget
*
parent
=
nullptr
)
:
QWidget
(
parent
)
{
explicit
TCP
(
QWidget
*
parent
=
nullptr
)
:
QWidget
(
parent
)
{
setupUi
(
this
);
}
};
...
...
krfb/trayicon.cpp
View file @
df9e6d62
...
...
@@ -41,11 +41,11 @@ public:
virtual
~
ClientActions
();
private:
QMenu
*
m_menu
;
QAction
*
m_title
;
QAction
*
m_disconnectAction
;
QAction
*
m_enableControlAction
;
QAction
*
m_separator
;
QMenu
*
m_menu
=
nullptr
;
QAction
*
m_title
=
nullptr
;
QAction
*
m_disconnectAction
=
nullptr
;
QAction
*
m_enableControlAction
=
nullptr
;
QAction
*
m_separator
=
nullptr
;
};
ClientActions
::
ClientActions
(
RfbClient
*
client
,
QMenu
*
menu
,
QAction
*
before
)
...
...
Write
Preview
Supports
Markdown
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