summaryrefslogtreecommitdiffstats
path: root/databases/kexi/files/patch-src_plugins_forms_widgets_kexidbcombobox.h
blob: a258db7368edaf2159ea4fca9137a309985787e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fix the build with LLVM < 4.0 (https://bugs.llvm.org//show_bug.cgi?id=26297).

/wrkdirs/usr/ports/databases/kexi/work/kexi-3.0.0/src/plugins/forms/widgets/kexidbcombobox.h:47:33: error: return type of virtual function 'column' is not covariant with
      the return type of the function it overrides ('KDbTableViewColumn' is incomplete)
    virtual KDbTableViewColumn *column() const;
                                ^
/usr/local/include/KDb3/KDbTableViewData.h:36:7: note: forward declaration of 'KDbTableViewColumn'
class KDbTableViewColumn;
      ^
--- src/plugins/forms/widgets/kexidbcombobox.h.orig	2017-06-11 15:09:35 UTC
+++ src/plugins/forms/widgets/kexidbcombobox.h
@@ -24,6 +24,8 @@
 #include "kexidbautofield.h"
 #include <widget/tableview/kexicomboboxbase.h>

+#include <KDb3/KDbTableViewColumn.h>
+
 //! @short Combo box widget for Kexi forms
 /*! This widget is implemented on top of KexiDBAutoField,
  so as it uses KexiDBAutoField's ability of embedding subwidgets,
OpenPOWER on IntegriCloud