diff options
author | J-P Nurmi <jpnurmi@gmail.com> | 2018-10-30 22:35:35 +0300 |
---|---|---|
committer | J-P Nurmi <jpnurmi@gmail.com> | 2018-10-31 22:05:14 +0300 |
commit | 08879c0f14628d20329367ec81da2262ff63fa6f (patch) | |
tree | cdfb4f17344bb374432ec0d4ec4c15a1d902db77 /src/gui/folderstatusdelegate.h | |
parent | f2bc5c0482a00e8735e8b12631ef77ec30f5d9fb (diff) |
Make the "Add Folder Sync Connection" button act like a button
Diffstat (limited to 'src/gui/folderstatusdelegate.h')
-rw-r--r-- | src/gui/folderstatusdelegate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/folderstatusdelegate.h b/src/gui/folderstatusdelegate.h index 213c822dd..eea8b025a 100644 --- a/src/gui/folderstatusdelegate.h +++ b/src/gui/folderstatusdelegate.h @@ -57,11 +57,13 @@ public: * return the position of the option button within the item */ static QRect optionsButtonRect(QRect within, Qt::LayoutDirection direction); + static QRect addButtonRect(QRect within, Qt::LayoutDirection direction); static QRect errorsListRect(QRect within); static int rootFolderHeightWithoutErrors(const QFontMetrics &fm, const QFontMetrics &aliasFm); private: static QString addFolderText(); + QPersistentModelIndex _pressedIndex; }; } // namespace OCC |