summaryrefslogtreecommitdiff
path: root/src/modinfodialogtab.h
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2020-04-30 15:57:42 +0200
committerGitHub <noreply@github.com>2020-04-30 15:57:42 +0200
commit4b265a5cd381168f73c156227c473a0ac55bb476 (patch)
treec9845642b6f048fa80edbc38285d78ee3bf0c3fa /src/modinfodialogtab.h
parent9945beabf160c68852a8bdac07de255f04fd6886 (diff)
parentbdd1e97d4f3a8b294a0691a7631c60cf24fffa90 (diff)
Merge pull request #1063 from Al12rs/mod_colors
Mod colors
Diffstat (limited to 'src/modinfodialogtab.h')
-rw-r--r--src/modinfodialogtab.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modinfodialogtab.h b/src/modinfodialogtab.h
index d0a58574..7a42bf7e 100644
--- a/src/modinfodialogtab.h
+++ b/src/modinfodialogtab.h
@@ -253,6 +253,9 @@ protected:
//
void setFocus();
+ // parent widget, used to display modal dialogs
+ QWidget* m_parent;
+
private:
// core
OrganizerCore& m_core;
@@ -260,9 +263,6 @@ private:
// plugin
PluginContainer& m_plugin;
- // parent widget, used to display modal dialogs
- QWidget* m_parent;
-
// current mod, never null
ModInfoPtr m_mod;
@@ -299,8 +299,11 @@ public:
bool usesOriginFiles() const override;
private:
+ void updateCommentsColor(bool clear = false);
void onComments();
void onNotes();
+ void onSetColor();
+ void onResetColor();
void checkHasData();
};