summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-24 04:46:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-24 04:46:47 +0300
commit3c7ec1268f2699884a5d96aa1df20742457caabd (patch)
tree6f8771941a58d4ee8cef55c9c262b00b14f804a9 /src/gui
parentc790484ce0eeee9f44b8ab0aa1e44c6bc5f47c30 (diff)
downloadplus-3c7ec1268f2699884a5d96aa1df20742457caabd.tar.gz
plus-3c7ec1268f2699884a5d96aa1df20742457caabd.tar.bz2
plus-3c7ec1268f2699884a5d96aa1df20742457caabd.tar.xz
plus-3c7ec1268f2699884a5d96aa1df20742457caabd.zip
Add attach items to new mail.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/maileditwindow.cpp5
-rw-r--r--src/gui/windows/maileditwindow.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index 5f7426a76..fb805e105 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -212,3 +212,8 @@ void MailEditWindow::close()
{
scheduleDelete();
}
+
+Inventory *MailEditWindow::getInventory() const
+{
+ return mInventory;
+}
diff --git a/src/gui/windows/maileditwindow.h b/src/gui/windows/maileditwindow.h
index e25fb8f4f..a7d921f8d 100644
--- a/src/gui/windows/maileditwindow.h
+++ b/src/gui/windows/maileditwindow.h
@@ -56,6 +56,8 @@ class MailEditWindow final : public Window,
void close() override final;
+ Inventory *getInventory() const A_WARN_UNUSED;
+
private:
Button *mSendButton;
Button *mCloseButton;