Branch 'kolab/integration/4.13.0' - incidenceeditor-ng/individualmaildialog.h

Sandro Knauß knauss at kolabsys.com
Tue Dec 23 11:26:00 CET 2014


 incidenceeditor-ng/individualmaildialog.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c6bd095f3da12c4a093574b71f1c0b06cb6c13ab
Author: Sandro Knauß <knauss at kolabsys.com>
Date:   Tue Dec 23 11:21:32 2014 +0100

    friend class without a namespace
    
    The friend testclass is outside the namespace so we have to tell gcc
    that thsi calss exists outside a namespace. for older gcc it is nessarry
    to also hold the forward declaration of the class.

diff --git a/incidenceeditor-ng/individualmaildialog.h b/incidenceeditor-ng/individualmaildialog.h
index 96b3503..00874dd 100644
--- a/incidenceeditor-ng/individualmaildialog.h
+++ b/incidenceeditor-ng/individualmaildialog.h
@@ -34,7 +34,7 @@ namespace IncidenceEditorNG {
 class IndividualMailDialog : public KDialog
 {
     Q_OBJECT
-    friend class TestIndividualMailDialog;
+    friend class ::TestIndividualMailDialog;
 public:
     enum Decisions {
         Update,         /**< send automatic mail to attendee */




More information about the commits mailing list