diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-25 00:47:45 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-25 00:47:45 -0500 |
| commit | 0e45044dbd724e9050bea00511585dc023afe144 (patch) | |
| tree | 46841f3a56f83670c5ddf9e6df72547e808fa77e /src/lootdialog.h | |
| parent | 48fcf9521f796bc3b6e536545877a9ea2e37360d (diff) | |
fixed cancel button
debug logs, some cleanup
Diffstat (limited to 'src/lootdialog.h')
| -rw-r--r-- | src/lootdialog.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lootdialog.h b/src/lootdialog.h index df9e546d..fcdeb304 100644 --- a/src/lootdialog.h +++ b/src/lootdialog.h @@ -48,16 +48,14 @@ public: void setText(const QString& s); void setProgress(lootcli::Progress p); - QString progressToString(lootcli::Progress p); - void addOutput(const QString& s); - bool result() const; - void cancel(); - void openReport(); + void accept() override; + void reject() override; + private: std::unique_ptr<Ui::LootDialog> ui; OrganizerCore& m_core; @@ -68,11 +66,10 @@ private: void createUI(); void closeEvent(QCloseEvent* e) override; - void onButton(QAbstractButton* b); void addLineOutput(const QString& line); void onFinished(); void log(MOBase::log::Levels lv, const QString& s); - void handleReport(); + void showReport(); }; #endif // MODORGANIZER_LOOTDIALOG_H |
