summaryrefslogtreecommitdiffstats
path: root/src/directorylist.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-15 20:14:50 +0200
committerMavridis Philippe <[email protected]>2021-01-15 20:14:50 +0200
commitd523b1c1e830092a0ce2fc5b8b9f4bcc27f04d3d (patch)
tree80f87134cf10649a5fd72b63746232869f7b75c0 /src/directorylist.h
parentb487b5bb8b314d381b6d13dcf4f49898f24b6f4a (diff)
downloadklamav-d523b1c1e830092a0ce2fc5b8b9f4bcc27f04d3d.tar.gz
klamav-d523b1c1e830092a0ce2fc5b8b9f4bcc27f04d3d.zip
Klamscan: handle block devices correctly.
This resolves issue #12. Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/directorylist.h')
-rw-r--r--src/directorylist.h4
1 files changed, 2 insertions, 2 deletions
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;