-rw-r--r-- | core/launcher/mediummountgui.cpp | 5 | ||||
-rw-r--r-- | core/launcher/mediummountgui.h | 6 |
2 files changed, 6 insertions, 5 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 @@ -22,4 +22,5 @@ -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 ) { + diff --git a/core/launcher/mediummountgui.h b/core/launcher/mediummountgui.h index 0da2803..700a922 100644 --- a/core/launcher/mediummountgui.h +++ b/core/launcher/mediummountgui.h @@ -4,3 +4,3 @@ #include <qvariant.h> -#include <qwidget.h> +#include <qdialog.h> class QVBoxLayout; @@ -14,3 +14,3 @@ class QPushButton; -class MediumMountGui : public QWidget +class MediumMountGui : public QDialog { @@ -19,3 +19,3 @@ class MediumMountGui : public QWidget public: - MediumMountGui( const QString &path = "/tmp/", QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + MediumMountGui( const QString &path = "/tmp/", QWidget* parent = 0, const char* name = 0, bool modal = FALSE ,WFlags fl = 0 ); ~MediumMountGui(); |