summaryrefslogtreecommitdiff
path: root/noncore/apps/tableviewer/ui/tveditview.cpp
Unidiff
Diffstat (limited to 'noncore/apps/tableviewer/ui/tveditview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tableviewer/ui/tveditview.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/apps/tableviewer/ui/tveditview.cpp b/noncore/apps/tableviewer/ui/tveditview.cpp
index 23e2b42..20a24c8 100644
--- a/noncore/apps/tableviewer/ui/tveditview.cpp
+++ b/noncore/apps/tableviewer/ui/tveditview.cpp
@@ -40,14 +40,16 @@
40#include <qscrollview.h> 40#include <qscrollview.h>
41#include <qsignalmapper.h> 41#include <qsignalmapper.h>
42 42
43TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent, 43#include <qpe/qpeapplication.h>
44
45TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent,
44 const char *name, WFlags fl ) : QDialog(parent, name, true, fl) 46 const char *name, WFlags fl ) : QDialog(parent, name, true, fl)
45{ 47{
46 if (!name) 48 if (!name)
47 setName("TVEditView"); 49 setName("TVEditView");
48 50
49 QVBoxLayout *layout = new QVBoxLayout(this, 0); /* only so that will resize 51 QVBoxLayout *layout = new QVBoxLayout(this, 0); /* only so that will resize
50 correctly in other 52 correctly in other
51 widgets */ 53 widgets */
52 54
53 toggles = new QSignalMapper(this); 55 toggles = new QSignalMapper(this);
@@ -64,7 +66,7 @@ TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent,
64 66
65 setData(s, d); 67 setData(s, d);
66#ifdef Q_WS_QWS 68#ifdef Q_WS_QWS
67 showMaximized(); 69 QPEApplication::showDialog( this );
68#endif 70#endif
69} 71}
70 72