summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/screenshotapplet/screenshot.cpp4
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
@@ -456,14 +456,14 @@ void ScreenshotControl::performGrab()
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 }