author | harlekin <harlekin> | 2002-03-22 15:05:56 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-03-22 15:05:56 (UTC) |
commit | a25901e13435a44576229bbda344aedf138863b0 (patch) (side-by-side diff) | |
tree | 8175f5bdb5ea7280d18fe459d61b8ba4943dd212 /core/launcher/mediummountgui.cpp | |
parent | 10b7c4b15d5a5a7cdbf6ab800b0911ffc67e8e7a (diff) | |
download | opie-a25901e13435a44576229bbda344aedf138863b0.zip opie-a25901e13435a44576229bbda344aedf138863b0.tar.gz opie-a25901e13435a44576229bbda344aedf138863b0.tar.bz2 |
now QDialog
Diffstat (limited to 'core/launcher/mediummountgui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/mediummountgui.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp index 0be90e6..2454efa 100644 --- a/core/launcher/mediummountgui.cpp +++ b/core/launcher/mediummountgui.cpp @@ -17,14 +17,15 @@ #include <opie/oconfig.h> #include <qapplication.h> -MediumMountGui::MediumMountGui( const QString &path ,QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) { +MediumMountGui::MediumMountGui( const QString &path ,QWidget* parent, const char* name, bool modal, WFlags fl ) + : QDialog( parent, name, modal, fl ) { + QWidget *d = QApplication::desktop(); int w=d->width(); int h=d->height(); resize( w , h ); setCaption( tr( "Medium inserted" ) ); |