From 2599e347d9444cfa6282fec9f2bfb9df4743d6d2 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 11 Apr 2002 20:30:22 +0000 Subject: OFileSelector const QStringList -> const QSTringList& OFileDialog initial version the layout is broken but don't ask me. I played with the parent played with manual relayouting. Currently the setYesCancelVisisble crashes but that's ok for now OFileDialog provides static methods for OpenFileName, SaveFileName and DIrFileName Multiple selection will follow Maybe a dwarf fixes the problems for me overnight --- (limited to 'libopie/ofileselector.cc') diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index fbe69ed..bc7c6c2 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc @@ -77,7 +77,7 @@ namespace { OFileSelector::OFileSelector(QWidget *wid, int mode, int selector, const QString &dirName, - const QString &fileName, const QStringList mimetypes ) : QWidget( wid ) + const QString &fileName, const QStringList &mimetypes ) : QWidget( wid ) { m_selector = selector; m_currentDir = dirName; -- cgit v0.9.0.2