Diffstat (limited to 'noncore/settings/sysinfo/processinfo.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/processinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/processinfo.cpp b/noncore/settings/sysinfo/processinfo.cpp index 2232771..1de1a19 100644 --- a/noncore/settings/sysinfo/processinfo.cpp +++ b/noncore/settings/sysinfo/processinfo.cpp | |||
@@ -172,11 +172,15 @@ void ProcessInfo::slotSendClicked() | |||
172 | if ( QMessageBox::warning( this, currprocess->text( 1 ), capstr, | 172 | if ( QMessageBox::warning( this, currprocess->text( 1 ), capstr, |
173 | QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape ) == QMessageBox::Yes ) | 173 | QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape ) == QMessageBox::Yes ) |
174 | { | 174 | { |
175 | currprocess = ProcessView->currentItem(); | ||
176 | if ( currprocess ) | ||
177 | { | ||
175 | QString sigstr = SignalCB->currentText(); | 178 | QString sigstr = SignalCB->currentText(); |
176 | sigstr.truncate(2); | 179 | sigstr.truncate(2); |
177 | int sigid = sigstr.toUInt(); | 180 | int sigid = sigstr.toUInt(); |
178 | kill( currprocess->text( 0 ).stripWhiteSpace().toUInt(), sigid ); | 181 | kill( currprocess->text( 0 ).stripWhiteSpace().toUInt(), sigid ); |
179 | } | 182 | } |
183 | } | ||
180 | 184 | ||
181 | } | 185 | } |
182 | 186 | ||