|
|
|
|
@ -35,6 +35,7 @@ public: |
|
|
|
|
|
|
|
|
|
bool checkQuotaExcedded(const QModelIndex &index, qreal &percentage) |
|
|
|
|
{ |
|
|
|
|
if (threshold >= 0.0) { |
|
|
|
|
if (index.model()->hasChildren(index)) { |
|
|
|
|
const int rowCount = index.model()->rowCount(index); |
|
|
|
|
for (int row = 0; row < rowCount; row++) { |
|
|
|
|
@ -53,6 +54,7 @@ public: |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -60,7 +62,7 @@ public: |
|
|
|
|
Akonadi::MimeTypeChecker checker; |
|
|
|
|
|
|
|
|
|
QColor brokenAccountColor; |
|
|
|
|
qreal threshold = 0.0; |
|
|
|
|
qreal threshold = -1.0; |
|
|
|
|
FolderTreeWidgetProxyModel *const q; |
|
|
|
|
bool enableCheck = false; |
|
|
|
|
bool hideVirtualFolder = false; |
|
|
|
|
|