Diffstat (limited to 'core/applets/screenshotapplet/screenshot.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index 99effa5..5f83539 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp | |||
@@ -454,18 +454,18 @@ void ScreenshotControl::performGrab() | |||
454 | 454 | ||
455 | 455 | ||
456 | header = header.arg( SCAP_model).arg( ::getenv( "USER" ) ).arg( img.numBytes() ).arg( SCAP_hostname ); | 456 | header = header.arg( SCAP_model).arg( ::getenv( "USER" ) ).arg( img.numBytes() ).arg( SCAP_hostname ); |
457 | qDebug(header); | 457 | qDebug(header); |
458 | 458 | ||
459 | if ( !pix.isNull() ) { | 459 | if ( !pix.isNull() ) { |
460 | const char *ascii = header.latin1( ); | 460 | const char *ascii = header.latin1( ); |
461 | uint ascii_len = ::strlen( ascii ); | 461 | uint ascii_len = ::strlen( ascii ); |
462 | // ::write ( sock, ascii, ascii_len ); | 462 | ::write ( sock, ascii, ascii_len ); |
463 | // ::write ( sock, img.bits(), img.numBytes() ); | 463 | ::write ( sock, img.bits(), img.numBytes() ); |
464 | 464 | ||
465 | ok = true; | 465 | ok = true; |
466 | } | 466 | } |
467 | } | 467 | } |
468 | ::close ( sock ); | 468 | ::close ( sock ); |
469 | } | 469 | } |
470 | } | 470 | } |
471 | if ( ok ) { | 471 | if ( ok ) { |