summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-03-26 02:29:46 (UTC)
committer llornkcor <llornkcor>2003-03-26 02:29:46 (UTC)
commit114dc0018c29cb899f10bbbe4eb84db1482f9598 (patch) (unidiff)
tree5f090b026bcb6cafe39b4650530fe0a5cac16bdc
parent445c957aeddcea7ee0b83657e00987103a6d35b0 (diff)
downloadopie-114dc0018c29cb899f10bbbe4eb84db1482f9598.zip
opie-114dc0018c29cb899f10bbbe4eb84db1482f9598.tar.gz
opie-114dc0018c29cb899f10bbbe4eb84db1482f9598.tar.bz2
change to UnknownDocument icon
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp10
-rw-r--r--noncore/net/opieftp/opieftp.h2
2 files changed, 9 insertions, 3 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index 7c83223..db365ca 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -88,2 +88,7 @@ OpieFtp::OpieFtp( )
88 88
89 QWMatrix matrix;
90 QPixmap pix(Resource::loadPixmap( "UnknownDocument" ));
91 matrix.scale( .4, .4);
92 unknownXpm = pix.xForm(matrix);
93
89 connectionMenu = new QPopupMenu( this ); 94 connectionMenu = new QPopupMenu( this );
@@ -690,4 +695,3 @@ void OpieFtp::populateLocalView()
690 if(pm.isNull()) 695 if(pm.isNull())
691 pm = Resource::loadPixmap( "UnknownDocument-14" ); 696 pm = unknownXpm;
692 item->setPixmap( 0,pm);
693 } 697 }
@@ -701,4 +705,4 @@ void OpieFtp::populateLocalView()
701 pm.setMask( pm.createHeuristicMask( FALSE ) ); 705 pm.setMask( pm.createHeuristicMask( FALSE ) );
702 item->setPixmap( 0, pm);
703 } 706 }
707 item->setPixmap( 0,pm);
704 } 708 }
diff --git a/noncore/net/opieftp/opieftp.h b/noncore/net/opieftp/opieftp.h
index 109b5f8..9d5d211 100644
--- a/noncore/net/opieftp/opieftp.h
+++ b/noncore/net/opieftp/opieftp.h
@@ -20,2 +20,3 @@
20#include <qpoint.h> 20#include <qpoint.h>
21#include <qpixmap.h>
21 22
@@ -129,2 +130,3 @@ protected slots:
129protected: 130protected:
131 QPixmap unknownXpm;
130 bool fuckeduphack; 132 bool fuckeduphack;