author | andyq <andyq> | 2002-10-10 11:53:44 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-10 11:53:44 (UTC) |
commit | 4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699 (patch) (unidiff) | |
tree | e32369cb3acfb3e79f60d4c9f94adeaaaa3a4123 | |
parent | cb2b407e2f58a73447d706de7c374bf275a96992 (diff) | |
download | opie-4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699.zip opie-4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699.tar.gz opie-4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699.tar.bz2 |
Made output text box text slightly smalled so more output can be displayed
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index 31be213..d4f751c 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -39,32 +39,36 @@ InstallDlgImpl::InstallDlgImpl( vector<QString> &packageList, DataManager *dataM | |||
39 | vector<Destination>::iterator dit; | 39 | vector<Destination>::iterator dit; |
40 | 40 | ||
41 | QString defaultDest = "root"; | 41 | QString defaultDest = "root"; |
42 | #ifdef QWS | 42 | #ifdef QWS |
43 | Config cfg( "aqpkg" ); | 43 | Config cfg( "aqpkg" ); |
44 | cfg.setGroup( "settings" ); | 44 | cfg.setGroup( "settings" ); |
45 | defaultDest = cfg.readEntry( "dest", "root" ); | 45 | defaultDest = cfg.readEntry( "dest", "root" ); |
46 | 46 | ||
47 | // Grab flags - Turn MAKE_LINKS on by default (if no flags found) | 47 | // Grab flags - Turn MAKE_LINKS on by default (if no flags found) |
48 | flags = cfg.readNumEntry( "installFlags", MAKE_LINKS ); | 48 | flags = cfg.readNumEntry( "installFlags", MAKE_LINKS ); |
49 | #else | 49 | #else |
50 | flags = 0; | 50 | flags = 0; |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | // Output text is read only | 53 | // Output text is read only |
54 | output->setReadOnly( true ); | 54 | output->setReadOnly( true ); |
55 | QFont f( "helvetica" ); | ||
56 | f.setPointSize( 10 ); | ||
57 | output->setFont( f ); | ||
58 | |||
55 | 59 | ||
56 | // setup destination data | 60 | // setup destination data |
57 | int defIndex = 0; | 61 | int defIndex = 0; |
58 | int i; | 62 | int i; |
59 | for ( i = 0 , dit = dataMgr->getDestinationList().begin() ; dit != dataMgr->getDestinationList().end() ; ++dit, ++i ) | 63 | for ( i = 0 , dit = dataMgr->getDestinationList().begin() ; dit != dataMgr->getDestinationList().end() ; ++dit, ++i ) |
60 | { | 64 | { |
61 | destination->insertItem( dit->getDestinationName() ); | 65 | destination->insertItem( dit->getDestinationName() ); |
62 | if ( dit->getDestinationName() == defaultDest ) | 66 | if ( dit->getDestinationName() == defaultDest ) |
63 | defIndex = i; | 67 | defIndex = i; |
64 | } | 68 | } |
65 | 69 | ||
66 | destination->setCurrentItem( defIndex ); | 70 | destination->setCurrentItem( defIndex ); |
67 | 71 | ||
68 | vector<QString>::iterator it; | 72 | vector<QString>::iterator it; |
69 | // setup package data | 73 | // setup package data |
70 | QString remove = "Remove\n"; | 74 | QString remove = "Remove\n"; |