summaryrefslogtreecommitdiff
authorzecke <zecke>2004-09-19 19:11:07 (UTC)
committer zecke <zecke>2004-09-19 19:11:07 (UTC)
commit13fb1f618aef9c51918a72b6fe998aa4f09f2500 (patch) (side-by-side diff)
tree30834690c490b11406d560181d595fec4e86b279
parent4564befecf3df38911d48f216ab216faf93b9c1d (diff)
downloadopie-13fb1f618aef9c51918a72b6fe998aa4f09f2500.zip
opie-13fb1f618aef9c51918a72b6fe998aa4f09f2500.tar.gz
opie-13fb1f618aef9c51918a72b6fe998aa4f09f2500.tar.bz2
Change the order of arguments on MainWindow c'tor
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mainwindow.cc2
-rw-r--r--noncore/settings/mediummount/mainwindow.h2
-rw-r--r--noncore/settings/mediummount/mediumwidget.cc11
3 files changed, 5 insertions, 10 deletions
diff --git a/noncore/settings/mediummount/mainwindow.cc b/noncore/settings/mediummount/mainwindow.cc
index eec786c..ebe1c94 100644
--- a/noncore/settings/mediummount/mainwindow.cc
+++ b/noncore/settings/mediummount/mainwindow.cc
@@ -18,3 +18,3 @@ using namespace MediumMountSetting;
-MainWindow::MainWindow( QWidget *parent, const char *name, bool modal, WFlags )
+MainWindow::MainWindow( QWidget *parent, const char *name, WFlags, bool modal )
: QDialog( parent, name, modal, WStyle_ContextHelp )
diff --git a/noncore/settings/mediummount/mainwindow.h b/noncore/settings/mediummount/mainwindow.h
index 9649863..7bcb7f5 100644
--- a/noncore/settings/mediummount/mainwindow.h
+++ b/noncore/settings/mediummount/mainwindow.h
@@ -17,3 +17,3 @@ namespace MediumMountSetting {
public:
- MainWindow(QWidget *parent = 0, const char *name = 0 , bool modal = FALSE, WFlags = 0);
+ MainWindow(QWidget *parent = 0, const char *name = 0 , WFlags = 0, bool modal=true);
~MainWindow();
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc
index f39a6ed..ec5b9d5 100644
--- a/noncore/settings/mediummount/mediumwidget.cc
+++ b/noncore/settings/mediummount/mediumwidget.cc
@@ -33,7 +33,2 @@ MediumMountWidget::MediumMountWidget(const QString &path,
{
- if(parent == 0){
- resize(QApplication::desktop()->width(), QApplication::desktop()->height() );
- }else{
- resize(parent->width(), parent->height() );
- }
m_path = path;
@@ -110,3 +105,3 @@ void MediumMountWidget::initGUI()
-
+
m_subList = new QComboBox(FALSE,this,"docFolderList");
@@ -121,3 +116,3 @@ void MediumMountWidget::initGUI()
m_del->setText(tr("Remove"));
-
+
connect(m_add, SIGNAL(clicked() ),
@@ -130,3 +125,3 @@ void MediumMountWidget::initGUI()
connect(m_scan_all_check,SIGNAL(stateChanged(int)),this,SLOT(slotScanAllChanged(int)));
-
+
m_box->addWidget(m_scan_all_check);