Diffstat (limited to 'noncore/apps/odict/odict.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/odict.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 6c03ce3..166f6b9 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp | |||
@@ -47,7 +47,8 @@ ODict::ODict() : QMainWindow() | |||
47 | query_le = new QLineEdit( hbox ); | 47 | query_le = new QLineEdit( hbox ); |
48 | ok_button = new QPushButton( tr( "&Ok" ), hbox ); | 48 | ok_button = new QPushButton( tr( "&Ok" ), hbox ); |
49 | connect( ok_button, SIGNAL( released() ), this, SLOT( slotStartQuery() ) ); | 49 | connect( ok_button, SIGNAL( released() ), this, SLOT( slotStartQuery() ) ); |
50 | browser = new QTextBrowser( vbox ); | 50 | browser_top = new QTextBrowser( vbox ); |
51 | browser_bottom = new QTextBrowser( vbox ); | ||
51 | 52 | ||
52 | loadConfig(); | 53 | loadConfig(); |
53 | setCentralWidget( vbox ); | 54 | setCentralWidget( vbox ); |
@@ -82,7 +83,7 @@ void ODict::slotDisplayAbout() | |||
82 | void ODict::slotStartQuery() | 83 | void ODict::slotStartQuery() |
83 | { | 84 | { |
84 | QString querystring = query_le->text(); | 85 | QString querystring = query_le->text(); |
85 | DingWidget *ding = new DingWidget( vbox , querystring , browser); | 86 | DingWidget *ding = new DingWidget( vbox , querystring , browser_top, browser_bottom); |
86 | } | 87 | } |
87 | 88 | ||
88 | 89 | ||