Don't check for free disk space right after module load

As kded loads before plasma, we need to check for the free disk space a
bit later than on module load, otherwise that spawns an ugly not-plasma-
themed notification even before plasma is loaded

The first check will be done 1 minute after module load, that's enough.
wilder-5.14
Martin Klapetek 12 years ago
parent b0bc668164
commit 2ca2db10c4
  1. 2
      freespacenotifier/freespacenotifier.cpp

@ -50,8 +50,6 @@ FreeSpaceNotifier::FreeSpaceNotifier( QObject* parent )
connect( &timer, SIGNAL(timeout()), SLOT(checkFreeDiskSpace()) );
timer.start( 1000 * 60 /* 1 minute */ );
QTimer::singleShot(0, this, SLOT(checkFreeDiskSpace()));
}
FreeSpaceNotifier::~FreeSpaceNotifier()

Loading…
Cancel
Save