summaryrefslogtreecommitdiff
path: root/libopie/ofileselector
authorzecke <zecke>2002-11-03 11:03:20 (UTC)
committer zecke <zecke>2002-11-03 11:03:20 (UTC)
commit207f7430db6c90e88825ea2bedc9ae1bf68e3d99 (patch) (side-by-side diff)
treefb69b58f130c0b0a17224989f26aa4af5939b33e /libopie/ofileselector
parent485fae36510cb42690c9df55fae64312b1e656ae (diff)
downloadopie-207f7430db6c90e88825ea2bedc9ae1bf68e3d99.zip
opie-207f7430db6c90e88825ea2bedc9ae1bf68e3d99.tar.gz
opie-207f7430db6c90e88825ea2bedc9ae1bf68e3d99.tar.bz2
Patch by Simon Hausmann to suit gcc3 needs
many thanks
Diffstat (limited to 'libopie/ofileselector') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector/odefaultfactories.cpp4
-rw-r--r--libopie/ofileselector/odefaultfactories.h1
-rw-r--r--libopie/ofileselector/ofileselector.cpp3
3 files changed, 2 insertions, 6 deletions
diff --git a/libopie/ofileselector/odefaultfactories.cpp b/libopie/ofileselector/odefaultfactories.cpp
index c8efffb..2f8ef9b 100644
--- a/libopie/ofileselector/odefaultfactories.cpp
+++ b/libopie/ofileselector/odefaultfactories.cpp
@@ -1,5 +1,4 @@
#include "ofilelistview.h"
-#include "ofileiconview.h"
#include "olocallister.h"
@@ -8,9 +7,6 @@
extern "C" {
- OFileView* newFileIconView( OFileSelector* sel, QWidget* parent ) {
- return new OFileIconView( parent, sel );
- }
OFileView* newFileListView( OFileSelector* sel, QWidget* par ) {
return new OFileListView(par, sel );
diff --git a/libopie/ofileselector/odefaultfactories.h b/libopie/ofileselector/odefaultfactories.h
index b4c35af..0cc90e5 100644
--- a/libopie/ofileselector/odefaultfactories.h
+++ b/libopie/ofileselector/odefaultfactories.h
@@ -5,7 +5,6 @@
extern "C" {
- OFileView* newFileIconView( OFileSelector*, QWidget* parent );
OFileView* newFileListView( OFileSelector*, QWidget* parent );
OLister* newLocalLister(OFileSelector* );
diff --git a/libopie/ofileselector/ofileselector.cpp b/libopie/ofileselector/ofileselector.cpp
index c6e923f..abc2889 100644
--- a/libopie/ofileselector/ofileselector.cpp
+++ b/libopie/ofileselector/ofileselector.cpp
@@ -976,7 +976,8 @@ void OFileSelector::initFactory() {
m_fileFactory = new OFileFactory();
m_fileFactory->addLister(tr("Files"), newLocalLister );
m_fileFactory->addView(tr("List View"), newFileListView );
- m_fileFactory->addView(tr("Documents"), newFileIconView );
+ /* dummy entry */
+ m_fileFactory->addView(tr("Documents"), newFileListView );
}
void OFileSelector::fillList() {