-rw-r--r-- | core/launcher/mediadlg.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/launcher/mediadlg.cpp b/core/launcher/mediadlg.cpp index 6448863..db950fc 100644 --- a/core/launcher/mediadlg.cpp +++ b/core/launcher/mediadlg.cpp | |||
@@ -4,4 +4,5 @@ | |||
4 | #include <qpixmap.h> | 4 | #include <qpixmap.h> |
5 | #include <qlayout.h> | 5 | #include <qlayout.h> |
6 | #include <qlabel.h> | ||
6 | 7 | ||
7 | Mediadlg::Mediadlg(FileSystem*fs,QWidget *parent, const char *name, bool modal, WFlags fl) | 8 | Mediadlg::Mediadlg(FileSystem*fs,QWidget *parent, const char *name, bool modal, WFlags fl) |
@@ -20,7 +21,14 @@ void Mediadlg::init() | |||
20 | { | 21 | { |
21 | if (!m_fs) return; | 22 | if (!m_fs) return; |
22 | m_lay = new QVBoxLayout( this ); | 23 | m_lay = new QVBoxLayout( this); |
24 | m_lay->setSpacing(0); | ||
25 | m_lay->setMargin(0); | ||
26 | QLabel*tLabel = new QLabel(this); | ||
27 | tLabel->setText("<center>"+tr("A new storage media detected:")+"<br>"+m_fs->name()+"<br>"+tr("What should I do with it?")+"</center>"); | ||
28 | m_lay->addWidget(tLabel); | ||
23 | m_widget = new MediumMountSetting::MediumMountWidget(m_fs->path(),QPixmap(),this); | 29 | m_widget = new MediumMountSetting::MediumMountWidget(m_fs->path(),QPixmap(),this); |
24 | m_lay->addWidget(m_widget); | 30 | m_lay->addWidget(m_widget); |
31 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); | ||
32 | m_lay->addItem(spacer); | ||
25 | } | 33 | } |
26 | 34 | ||