summaryrefslogtreecommitdiff
path: root/noncore/settings
Unidiff
Diffstat (limited to 'noncore/settings') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/processinfo.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/noncore/settings/sysinfo/processinfo.cpp b/noncore/settings/sysinfo/processinfo.cpp
index 9a5446a..769410f 100644
--- a/noncore/settings/sysinfo/processinfo.cpp
+++ b/noncore/settings/sysinfo/processinfo.cpp
@@ -158,16 +158,13 @@ void ProcessInfo::slotSendClicked()
158 if ( QMessageBox::warning( this, currprocess->text( 1 ), capstr, 158 if ( QMessageBox::warning( this, currprocess->text( 1 ), capstr,
159 QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape ) == QMessageBox::Yes ) 159 QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape ) == QMessageBox::Yes )
160 { 160 {
161 QString sigstr = SignalCB->currentText(); 161 QString sigstr = SignalCB->currentText();
162 sigstr.truncate(2); 162 sigstr.truncate(2);
163 int sigid = sigstr.toUInt(); 163 int sigid = sigstr.toUInt();
164 if ( kill( currprocess->text( 0 ).stripWhiteSpace().toUInt(), sigid ) == 0 ) 164 kill( currprocess->text( 0 ).stripWhiteSpace().toUInt(), sigid );
165 {
166 hide();
167 }
168 } 165 }
169 166
170} 167}
171 168
172void ProcessInfo::viewProcess( QListViewItem *process ) 169void ProcessInfo::viewProcess( QListViewItem *process )
173{ 170{