[KPhotoAlbum] Problems with the latest svn

Robert L Krawitz rlk at alum.mit.edu
Fri Oct 6 00:15:54 BST 2006


Two problems with the latest svn: it doesn't compile without SQL
support, and DirtyIndicator.cpp still needs the include of
DirtyIndicator.moc (even with rerunning configure, it doesn't compile
for me without this).

Index: Settings/SettingsDialog.cpp
===================================================================
--- Settings/SettingsDialog.cpp (revision 592852)
+++ Settings/SettingsDialog.cpp (working copy)
@@ -921,17 +921,23 @@
                            i18n("Database backend"),
                            KGlobal::iconLoader()->loadIcon(QString::fromLatin1("kfm"),
                                                            KIcon::Desktop, 32));
+#ifdef SQLDB_SUPPORT
     _backendPageIndex = pageIndex(top);
+#endif
 
     QVBoxLayout* lay1 = new QVBoxLayout(top, 6);
 
+#ifdef SQLDB_SUPPORT
     _backendButtons = new QButtonGroup(1, Qt::Horizontal,
                                        i18n("Database backend to use"), top);
     lay1->addWidget(_backendButtons);
+#endif
 
+#ifdef SQLDB_SUPPORT
     new QRadioButton(i18n("XML backend (recommended)"), _backendButtons);
     //QRadioButton* sqlButton =
     new QRadioButton(i18n("SQL backend (experimental)"), _backendButtons);
+#endif
 
 
     // XML Backend
Index: MainWindow/DirtyIndicator.cpp
===================================================================
--- MainWindow/DirtyIndicator.cpp       (revision 592852)
+++ MainWindow/DirtyIndicator.cpp       (working copy)
@@ -49,3 +49,4 @@
     return _autoSaveDirty;
 }
 
+#include "DirtyIndicator.moc"

-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf at uunet.uu.net
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton




More information about the Kphotoalbum mailing list