2007-02-05 22:37:58 +00:00
|
|
|
diff -u -r ktorrent-2.1beta1.orig/plugins/infowidget/Makefile.am ktorrent-2.1beta1/plugins/infowidget/Makefile.am
|
|
|
|
--- ktorrent-2.1beta1.orig/plugins/infowidget/Makefile.am 2006-11-25 13:49:50.000000000 +0100
|
|
|
|
+++ ktorrent-2.1beta1/plugins/infowidget/Makefile.am 2006-11-25 14:13:45.000000000 +0100
|
|
|
|
@@ -27,8 +27,4 @@
|
2007-01-15 23:20:52 +00:00
|
|
|
kde_services_DATA = ktinfowidgetplugin.desktop
|
|
|
|
|
|
|
|
kde_kcfg_DATA = ktinfowidgetplugin.kcfg
|
|
|
|
-
|
|
|
|
-ktdatadir = $(kde_datadir)/ktorrent/geoip
|
|
|
|
-
|
|
|
|
-SUBDIRS = geoip
|
2007-02-05 22:37:58 +00:00
|
|
|
KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI)
|
|
|
|
diff -u -r ktorrent-2.1beta1.orig/plugins/infowidget/peerview.cpp ktorrent-2.1beta1/plugins/infowidget/peerview.cpp
|
|
|
|
--- ktorrent-2.1beta1.orig/plugins/infowidget/peerview.cpp 2006-11-25 13:49:50.000000000 +0100
|
|
|
|
+++ ktorrent-2.1beta1/plugins/infowidget/peerview.cpp 2006-11-25 14:13:31.000000000 +0100
|
2007-01-15 23:20:52 +00:00
|
|
|
@@ -45,7 +45,7 @@
|
|
|
|
static QPixmap no_pix;
|
|
|
|
static QPixmap lock_pix;
|
|
|
|
static bool yes_no_pix_loaded = false;
|
|
|
|
- static bool geoip_db_exists = true;
|
|
|
|
+ static bool geoip_db_exists = false;
|
|
|
|
|
|
|
|
|
|
|
|
PeerViewItem::PeerViewItem(PeerView* pv,kt::PeerInterface* peer) : KListViewItem(pv),peer(peer)
|
2007-02-05 22:37:58 +00:00
|
|
|
@@ -56,9 +56,6 @@
|
2007-01-15 23:20:52 +00:00
|
|
|
yes_pix = iload->loadIcon("button_ok",KIcon::Small);
|
|
|
|
no_pix = iload->loadIcon("button_cancel",KIcon::Small);
|
|
|
|
lock_pix = iload->loadIcon("ktencrypted",KIcon::Small);
|
2007-02-05 22:37:58 +00:00
|
|
|
- geoip_db_exists = !locate("data", "ktorrent/geoip/geoip.dat").isNull();
|
|
|
|
- if(!geoip_db_exists)
|
|
|
|
- geoip_db_exists = !locate("data", "ktorrent/geoip/GeoIP.dat").isNull();
|
2007-01-15 23:20:52 +00:00
|
|
|
yes_no_pix_loaded = true;
|
|
|
|
}
|
|
|
|
|