From d523b1c1e830092a0ce2fc5b8b9f4bcc27f04d3d Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 15 Jan 2021 20:14:50 +0200 Subject: Klamscan: handle block devices correctly. This resolves issue #12. Signed-off-by: Mavridis Philippe --- src/directorylist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/directorylist.h') diff --git a/src/directorylist.h b/src/directorylist.h index 4e4c058..6c6b451 100644 --- a/src/directorylist.h +++ b/src/directorylist.h @@ -108,12 +108,12 @@ class DeviceItem : public TQObject, public TQCheckListItem void stateChange( bool ); // reimpl. void activate(); // reimpl. void paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ); // reimpl. + TQString getMountPoint(const TQString & device); public slots: void newItems( const KFileItemList& ); void completed() { if( childCount() == 0 ) { setExpandable( false ); repaint(); } } private: - void mountDevice(const TQString & device); - TQString getMountPoint(const TQString & device); + void mountDevice(const TQString & device); KDirLister m_lister; KURL m_url; bool m_listed; -- cgit v1.2.1