diff options
| author | Nate Graham <[email protected]> | 2019-01-19 08:11:26 -0700 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2019-01-19 08:15:11 -0700 |
| commit | 2100a7a5c85931d46b72d391faa3d136d4401010 (patch) | |
| tree | 2ca5faa610a36fd431f9db20879eb2072e36ad84 /src/panels/terminal/terminalpanel.h | |
| parent | 784734ca16803f5109e6268d1afc6c4f33d41def (diff) | |
Ask for confirmation when Closing Dolphin windows with a terminal panel running a program
Summary:
Ask for confirmation when Closing Dolphin windows with a terminal panel running a program.
FEATURE: 304816
FIXED-IN: 19.04.0
Test Plan:
# Open terminal panel
# Run `watch ls`
# Close Dolphin
# Observe confirmation
# Disable confirmation
# Repeat, observe no confirmation
# Enable confirmation in the settings
# Repeat, observe a confirmation
Reviewers: #dolphin, markg, elvisangelaccio, rominf
Reviewed By: #dolphin, elvisangelaccio
Subscribers: kfm-devel, elvisangelaccio, markg, ngraham, rkflx, broulik, #dolphin
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D10960
Diffstat (limited to 'src/panels/terminal/terminalpanel.h')
| -rw-r--r-- | src/panels/terminal/terminalpanel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index a6f93d767..f5d66e548 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -55,7 +55,9 @@ public: */ void goHome(); QString currentWorkingDirectory(); - bool isHiddenInVisibleWindow(); + bool isHiddenInVisibleWindow() const; + bool hasProgramRunning() const; + QString runningProgramName() const; public slots: void terminalExited(); |
