Diffstat (limited to 'core/applets/screenshotapplet/screenshot.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index 20e8554..16d5588 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp @@ -92,24 +92,25 @@ ScreenshotControl::ScreenshotControl( QWidget *parent, const char *name ) vbox->addWidget( grabItButton); setFixedHeight( 100 ); setFixedWidth( sizeHint().width() ); setFocusPolicy(QWidget::NoFocus); grabTimer= new QTimer(this,"grab timer"); // qDebug("newTimer"); connect( grabTimer, SIGNAL( timeout() ), this, SLOT( grabTimerDone() ) ); // Config cfg("Snapshot"); // cfg.setGroup("General"); + delaySpin->setValue(1); // delaySpin->setValue(cfg.readNumEntry("delay",0)); connect( grabItButton, SIGNAL(released()), SLOT(slotGrab()) ); } void ScreenshotControl::slotGrab() { // qDebug("SlotGrab"); hide(); if ( delaySpin->value() ) { grabTimer->start( delaySpin->value() * 1000, true ); } else { |