summaryrefslogtreecommitdiff
path: root/graphics/showimg/patches/patch-aa
blob: d09daf458e28285d3bf2c480876241636c93f121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.2 2011/01/29 22:00:59 markd Exp $

--- showimg/showimg/imagelistview.cpp.orig	2006-01-07 08:48:04.000000000 +0000
+++ showimg/showimg/imagelistview.cpp
@@ -108,6 +108,7 @@
 #include <qstringlist.h>
 #include <qlistview.h>
 #include <qtextcodec.h>
+#include <cstdlib>
 
 #define MYDEBUG kdDebug(0)<<__FILE__<<" " <<__LINE__ << " " << __FUNCTION__ << " "
 
@@ -542,7 +543,9 @@ ImageListView::initMenu(KActionCollectio
 	////////
 	m_popup->insertSeparator();
 	aImageInfo->plug(m_popup);
+#ifdef WANT_LIBKEXIDB
 	if(mw->getCategoryDBManager()->isConnected()) aCategoryProperties->plug(m_popup);
+#endif
 	aFileProperties->plug(m_popup);
 }