qtFM is a small, lightweight file manager based on pure Qt and works great with minimal desktop environments like Openbox. WWW: http://www.qtfm.org/ PR: ports/167466 Submitted by: Zhihao Yuan <lichray at gmail.com>
30 lines
730 B
C
30 lines
730 B
C
--- src/mainwindow.h.orig 2012-03-08 04:46:39.000000000 -0600
|
|
+++ src/mainwindow.h 2012-04-29 22:53:06.754026702 -0500
|
|
@@ -146,6 +146,15 @@ private:
|
|
void writeSettings();
|
|
void recurseFolder(QString path, QString parent, QStringList *);
|
|
|
|
+ class MountWorker : public QThread
|
|
+ {
|
|
+ bool ahead;
|
|
+ protected:
|
|
+ void run();
|
|
+ public:
|
|
+ void close();
|
|
+ };
|
|
+
|
|
int zoom;
|
|
int zoomTree;
|
|
int zoomList;
|
|
@@ -182,7 +191,11 @@ private:
|
|
bookmarkmodel *modelBookmarks;
|
|
QItemSelectionModel *treeSelectionModel;
|
|
QItemSelectionModel *listSelectionModel;
|
|
+#ifdef __FreeBSD__
|
|
+ MountWorker *worker;
|
|
+#else
|
|
QSocketNotifier *notify;
|
|
+#endif
|
|
|
|
QStringList mounts;
|
|
|