RetroshareDirModel::RetroshareDirModel(bool mode, QObject *parent) : QAbstractItemModel(parent), ageIndicator(IND_ALWAYS), RemoteMode(mode), nIndex(1), indexSet(1) /* ass zero index cant be used */ { _visible = false ; _needs_update = true ; setSupportedDragActions(Qt::CopyAction); treeStyle(); }
RetroshareDirModel::RetroshareDirModel(bool mode, QObject *parent) : QAbstractItemModel(parent), ageIndicator(IND_ALWAYS), RemoteMode(mode), nIndex(1), indexSet(1) /* ass zero index cant be used */ { _visible = false ; #if QT_VERSION < QT_VERSION_CHECK (5, 0, 0) setSupportedDragActions(Qt::CopyAction); #endif treeStyle(); }