[kde-doc-english] [trojita] src/Gui: GUI: Detach the composer from mainwindow

Jan Kundrát jkt at flaska.net
Fri Jan 11 00:35:02 UTC 2013


Git commit e5691d5b2813f2a3049e8416d8c03c344b534604 by Jan Kundrát, on behalf of Thomas Lübking.
Committed on 08/01/2013 at 23:38.
Pushed by jkt into branch 'master'.

GUI: Detach the composer from mainwindow

This prevents me from doing stupid things (like writing a giant mail, forget
about it on another VD and close the mainwindow ...)

M  +1    -1    src/Gui/ComposeWidget.cpp

http://commits.kde.org/trojita/e5691d5b2813f2a3049e8416d8c03c344b534604

diff --git a/src/Gui/ComposeWidget.cpp b/src/Gui/ComposeWidget.cpp
index ee27f80..cfe6914 100644
--- a/src/Gui/ComposeWidget.cpp
+++ b/src/Gui/ComposeWidget.cpp
@@ -57,7 +57,7 @@ namespace Gui
 {
 
 ComposeWidget::ComposeWidget(MainWindow *parent) :
-    QWidget(parent, Qt::Window),
+    QWidget(0, Qt::Window),
     ui(new Ui::ComposeWidget),
     m_appendUidReceived(false), m_appendUidValidity(0), m_appendUid(0), m_genUrlAuthReceived(false),
     m_mainWindow(parent)



More information about the kde-doc-english mailing list