Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
e12a088d
Commit
e12a088d
authored
Jul 15, 2020
by
Gustavo Carneiro
Committed by
Kurt Hindenburg
Jul 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename variables
parent
8d36616f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/SessionDisplayConnection.cpp
src/SessionDisplayConnection.cpp
+6
-6
src/SessionDisplayConnection.h
src/SessionDisplayConnection.h
+2
-2
No files found.
src/SessionDisplayConnection.cpp
View file @
e12a088d
...
...
@@ -21,7 +21,7 @@
#include "SessionDisplayConnection.h"
// Konsole
#include "Session.h"
#include "
session/
Session.h"
#include "widgets/TerminalDisplay.h"
namespace
Konsole
...
...
@@ -30,23 +30,23 @@ namespace Konsole
SessionDisplayConnection
::
SessionDisplayConnection
(
Session
*
session
,
TerminalDisplay
*
view
,
QObject
*
parent
)
:
QObject
(
parent
)
{
mS
ession
=
session
;
mV
iew
=
view
;
_s
ession
=
session
;
_v
iew
=
view
;
}
QPointer
<
Session
>
SessionDisplayConnection
::
session
()
{
return
mS
ession
;
return
_s
ession
;
}
QPointer
<
TerminalDisplay
>
SessionDisplayConnection
::
view
()
{
return
mV
iew
;
return
_v
iew
;
}
bool
SessionDisplayConnection
::
isValid
()
const
{
return
!
mS
ession
.
isNull
()
&&
!
mV
iew
.
isNull
();
return
!
_s
ession
.
isNull
()
&&
!
_v
iew
.
isNull
();
}
}
// namespace Konsole
src/SessionDisplayConnection.h
View file @
e12a088d
...
...
@@ -51,8 +51,8 @@ public:
bool
isValid
()
const
;
private:
QPointer
<
Session
>
mS
ession
;
QPointer
<
TerminalDisplay
>
mV
iew
;
QPointer
<
Session
>
_s
ession
;
QPointer
<
TerminalDisplay
>
_v
iew
;
};
}
...
...
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