diff options
| author | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-04 19:21:11 -0600 |
|---|---|---|
| committer | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-04 19:21:11 -0600 |
| commit | 8aaba6633ec8b3303e0e7f24d42b96f3d5a4a90e (patch) | |
| tree | 28fbee999ccd73e9640e7252302ba7ebf6e19ce2 /include | |
| parent | 6570bcf0662d675cc3f0ed89820fc95efe4cace3 (diff) | |
Change default parameter to be QDateTime::currentDateTime()
Print debug message if provided timestamp is invalid
Diffstat (limited to 'include')
| -rw-r--r-- | include/courtroom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 9332481..4610130 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -225,7 +225,7 @@ public: // selected // or the user isn't already scrolled to the top void append_ic_text(QString p_text, QString p_name = "", QString action = "", - int color = 0, QDateTime timestamp = {}); + int color = 0, QDateTime timestamp = QDateTime::currentDateTime()); // prints who played the song to IC chat and plays said song(if found on local // filesystem) takes in a list where the first element is the song name and |
