summaryrefslogtreecommitdiff
path: root/libopie
authorzecke <zecke>2002-09-29 16:57:33 (UTC)
committer zecke <zecke>2002-09-29 16:57:33 (UTC)
commit0d4b54af104dadbff57804e5e6f8ac309aa36fc4 (patch) (side-by-side diff)
treec157fa2a49c3b545d4e7c4a2fbdaabe043dde20a /libopie
parent33ebc68a530393697724428f0e0db3a4807f3a9e (diff)
downloadopie-0d4b54af104dadbff57804e5e6f8ac309aa36fc4.zip
opie-0d4b54af104dadbff57804e5e6f8ac309aa36fc4.tar.gz
opie-0d4b54af104dadbff57804e5e6f8ac309aa36fc4.tar.bz2
Hide the TypeCombo/CategorySelect we provide our own stuff
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector/ofileselector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/ofileselector/ofileselector.cpp b/libopie/ofileselector/ofileselector.cpp
index c52aa62..458d432 100644
--- a/libopie/ofileselector/ofileselector.cpp
+++ b/libopie/ofileselector/ofileselector.cpp
@@ -1007,16 +1007,18 @@ void OFileSelector::initializeOldSelector() {
// we need to initialize but keep the selected mimetype
/* we default not to show close and new buttons */
QString mime = currentMimeType();
qWarning("MimeType " + mime );
m_select = new FileSelector( mime ,
m_mainView, "fileselector",
FALSE, FALSE);
+ m_select->setCategorySelectVisible( FALSE );
+ m_select->setTypeComboVisible( FALSE );
connect(m_select, SIGNAL(fileSelected( const DocLnk & ) ),
this, SLOT( slotFileBridgeSelected(const DocLnk & ) ) );
connect(m_select, SIGNAL(closeMe() ),
this, SIGNAL(closeMe() ) );
//connect to close me and other signals as well
m_mainView->setWidget( m_select );
}