summaryrefslogtreecommitdiff
path: root/development/sqlitebrowser/sqlitebrowser-2.0_beta1-qt-4.7.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/sqlitebrowser/sqlitebrowser-2.0_beta1-qt-4.7.0.patch')
-rw-r--r--development/sqlitebrowser/sqlitebrowser-2.0_beta1-qt-4.7.0.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/development/sqlitebrowser/sqlitebrowser-2.0_beta1-qt-4.7.0.patch b/development/sqlitebrowser/sqlitebrowser-2.0_beta1-qt-4.7.0.patch
new file mode 100644
index 0000000000..ff6af92372
--- /dev/null
+++ b/development/sqlitebrowser/sqlitebrowser-2.0_beta1-qt-4.7.0.patch
@@ -0,0 +1,31 @@
+As suggested by Andreas Gölzer at http://sourceforge.net/tracker/index.php?func=detail&aid=3096050&group_id=87946&atid=584909
+
+--- sqlitebrowser/sqlitedb.h
++++ sqlitebrowser/sqlitedb.h
+@@ -41,7 +41,7 @@
+ class DBBrowserField
+ {
+ public:
+- DBBrowserField() : name( 0 ) { }
++ DBBrowserField() : name( "0" ) { }
+ DBBrowserField( const QString& wname,const QString& wtype )
+ : name( wname), type( wtype )
+ { }
+@@ -55,7 +55,7 @@
+ class DBBrowserIndex
+ {
+ public:
+- DBBrowserIndex() : name( 0 ) { }
++ DBBrowserIndex() : name( "0" ) { }
+ DBBrowserIndex( const QString& wname,const QString& wsql )
+ : name( wname), sql( wsql )
+ { }
+@@ -70,7 +70,7 @@
+ class DBBrowserTable
+ {
+ public:
+- DBBrowserTable() : name( 0 ) { }
++ DBBrowserTable() : name( "0" ) { }
+ DBBrowserTable( const QString& wname,const QString& wsql )
+ : name( wname), sql( wsql )
+ { }