diff options
author | Christian Kamm <mail@ckamm.de> | 2018-05-03 12:44:51 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2018-05-15 15:26:35 +0300 |
commit | f396f2f41dca0c1e3fd404db82693303f76b9062 (patch) | |
tree | fa55114b20bcc890d59f2ff27aba88496d139c26 /src/gui/ignorelisteditor.h | |
parent | 8d14f4357ab16e9225f17e4fdfe8a9129707abaa (diff) |
IgnoreEditor: Preserve comments, add #!readonly
Useful in case we ever want to make use of directives inside the ignore
list.
Diffstat (limited to 'src/gui/ignorelisteditor.h')
-rw-r--r-- | src/gui/ignorelisteditor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/ignorelisteditor.h b/src/gui/ignorelisteditor.h index 0018e2361..553c722f4 100644 --- a/src/gui/ignorelisteditor.h +++ b/src/gui/ignorelisteditor.h @@ -46,8 +46,9 @@ private slots: void slotAddPattern(); private: - void readIgnoreFile(const QString &file, bool readOnly); - int addPattern(const QString &pattern, bool deletable, bool readOnly); + void readIgnoreFile(const QString &file, bool global); + int addPattern(const QString &pattern, bool deletable, bool readOnly, bool global, + const QStringList &skippedLines = QStringList()); QString readOnlyTooltip; Ui::IgnoreListEditor *ui; }; |