-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 392d04d..dfe6d9c 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -105,233 +105,233 @@ MainWindow :: MainWindow() | |||
105 | a->addTo( jumpBar ); | 105 | a->addTo( jumpBar ); |
106 | jumpBar->hide(); | 106 | jumpBar->hide(); |
107 | 107 | ||
108 | // Packages menu | 108 | // Packages menu |
109 | QPopupMenu *popup = new QPopupMenu( this ); | 109 | QPopupMenu *popup = new QPopupMenu( this ); |
110 | 110 | ||
111 | a = new QAction( tr( "Update lists" ), Resource::loadPixmap( "aqpkg/update" ), QString::null, 0, this, 0 ); | 111 | a = new QAction( tr( "Update lists" ), Resource::loadPixmap( "aqpkg/update" ), QString::null, 0, this, 0 ); |
112 | a->setWhatsThis( tr( "Click here to update package lists from servers." ) ); | 112 | a->setWhatsThis( tr( "Click here to update package lists from servers." ) ); |
113 | connect( a, SIGNAL( activated() ), this, SLOT( updateServer() ) ); | 113 | connect( a, SIGNAL( activated() ), this, SLOT( updateServer() ) ); |
114 | a->addTo( popup ); | 114 | a->addTo( popup ); |
115 | a->addTo( bar ); | 115 | a->addTo( bar ); |
116 | 116 | ||
117 | actionUpgrade = new QAction( tr( "Upgrade" ), Resource::loadPixmap( "aqpkg/upgrade" ), QString::null, 0, this, 0 ); | 117 | actionUpgrade = new QAction( tr( "Upgrade" ), Resource::loadPixmap( "aqpkg/upgrade" ), QString::null, 0, this, 0 ); |
118 | actionUpgrade->setWhatsThis( tr( "Click here to upgrade all installed packages if a newer version is available." ) ); | 118 | actionUpgrade->setWhatsThis( tr( "Click here to upgrade all installed packages if a newer version is available." ) ); |
119 | connect( actionUpgrade, SIGNAL( activated() ), this, SLOT( upgradePackages() ) ); | 119 | connect( actionUpgrade, SIGNAL( activated() ), this, SLOT( upgradePackages() ) ); |
120 | actionUpgrade->addTo( popup ); | 120 | actionUpgrade->addTo( popup ); |
121 | actionUpgrade->addTo( bar ); | 121 | actionUpgrade->addTo( bar ); |
122 | 122 | ||
123 | iconDownload = Resource::loadPixmap( "aqpkg/download" ); | 123 | iconDownload = Resource::loadPixmap( "aqpkg/download" ); |
124 | iconRemove = Resource::loadPixmap( "aqpkg/remove" ); | 124 | iconRemove = Resource::loadPixmap( "aqpkg/remove" ); |
125 | actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); | 125 | actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); |
126 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); | 126 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); |
127 | connect( actionDownload, SIGNAL( activated() ), this, SLOT( downloadPackage() ) ); | 127 | connect( actionDownload, SIGNAL( activated() ), this, SLOT( downloadPackage() ) ); |
128 | actionDownload->addTo( popup ); | 128 | actionDownload->addTo( popup ); |
129 | actionDownload->addTo( bar ); | 129 | actionDownload->addTo( bar ); |
130 | 130 | ||
131 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "aqpkg/apply" ), QString::null, 0, this, 0 ); | 131 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "aqpkg/apply" ), QString::null, 0, this, 0 ); |
132 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); | 132 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); |
133 | connect( a, SIGNAL( activated() ), this, SLOT( applyChanges() ) ); | 133 | connect( a, SIGNAL( activated() ), this, SLOT( applyChanges() ) ); |
134 | a->addTo( popup ); | 134 | a->addTo( popup ); |
135 | a->addTo( bar ); | 135 | a->addTo( bar ); |
136 | 136 | ||
137 | mb->insertItem( tr( "Actions" ), popup ); | 137 | mb->insertItem( tr( "Actions" ), popup ); |
138 | 138 | ||
139 | // View menu | 139 | // View menu |
140 | popup = new QPopupMenu( this ); | 140 | popup = new QPopupMenu( this ); |
141 | 141 | ||
142 | actionUninstalled = new QAction( tr( "Show packages not installed" ), QString::null, 0, this, 0 ); | 142 | actionUninstalled = new QAction( tr( "Show packages not installed" ), QString::null, 0, this, 0 ); |
143 | actionUninstalled->setToggleAction( TRUE ); | 143 | actionUninstalled->setToggleAction( TRUE ); |
144 | actionUninstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); | 144 | actionUninstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); |
145 | connect( actionUninstalled, SIGNAL( activated() ), this, SLOT( filterUninstalledPackages() ) ); | 145 | connect( actionUninstalled, SIGNAL( activated() ), this, SLOT( filterUninstalledPackages() ) ); |
146 | actionUninstalled->addTo( popup ); | 146 | actionUninstalled->addTo( popup ); |
147 | 147 | ||
148 | actionInstalled = new QAction( tr( "Show installed packages" ), QString::null, 0, this, 0 ); | 148 | actionInstalled = new QAction( tr( "Show installed packages" ), QString::null, 0, this, 0 ); |
149 | actionInstalled->setToggleAction( TRUE ); | 149 | actionInstalled->setToggleAction( TRUE ); |
150 | actionInstalled->setWhatsThis( tr( "Click here to show packages currently installed on this device." ) ); | 150 | actionInstalled->setWhatsThis( tr( "Click here to show packages currently installed on this device." ) ); |
151 | connect( actionInstalled, SIGNAL( activated() ), this, SLOT( filterInstalledPackages() ) ); | 151 | connect( actionInstalled, SIGNAL( activated() ), this, SLOT( filterInstalledPackages() ) ); |
152 | actionInstalled->addTo( popup ); | 152 | actionInstalled->addTo( popup ); |
153 | 153 | ||
154 | actionUpdated = new QAction( tr( "Show updated packages" ), QString::null, 0, this, 0 ); | 154 | actionUpdated = new QAction( tr( "Show updated packages" ), QString::null, 0, this, 0 ); |
155 | actionUpdated->setToggleAction( TRUE ); | 155 | actionUpdated->setToggleAction( TRUE ); |
156 | actionUpdated->setWhatsThis( tr( "Click here to show packages currently installed on this device which have a newer version available." ) ); | 156 | actionUpdated->setWhatsThis( tr( "Click here to show packages currently installed on this device which have a newer version available." ) ); |
157 | connect( actionUpdated, SIGNAL( activated() ), this, SLOT( filterUpgradedPackages() ) ); | 157 | connect( actionUpdated, SIGNAL( activated() ), this, SLOT( filterUpgradedPackages() ) ); |
158 | actionUpdated->addTo( popup ); | 158 | actionUpdated->addTo( popup ); |
159 | 159 | ||
160 | popup->insertSeparator(); | 160 | popup->insertSeparator(); |
161 | 161 | ||
162 | actionFilter = new QAction( tr( "Filter by category" ), Resource::loadPixmap( "aqpkg/filter" ), QString::null, 0, this, 0 ); | 162 | actionFilter = new QAction( tr( "Filter by category" ), Resource::loadPixmap( "aqpkg/filter" ), QString::null, 0, this, 0 ); |
163 | actionFilter->setToggleAction( TRUE ); | 163 | actionFilter->setToggleAction( TRUE ); |
164 | actionFilter->setWhatsThis( tr( "Click here to list packages belonging to one category." ) ); | 164 | actionFilter->setWhatsThis( tr( "Click here to list packages belonging to one category." ) ); |
165 | connect( actionFilter, SIGNAL( activated() ), this, SLOT( filterCategory() ) ); | 165 | connect( actionFilter, SIGNAL( activated() ), this, SLOT( filterCategory() ) ); |
166 | actionFilter->addTo( popup ); | 166 | actionFilter->addTo( popup ); |
167 | 167 | ||
168 | a = new QAction( tr( "Set filter category" ), QString::null, 0, this, 0 ); | 168 | a = new QAction( tr( "Set filter category" ), QString::null, 0, this, 0 ); |
169 | a->setWhatsThis( tr( "Click here to change package category to used filter." ) ); | 169 | a->setWhatsThis( tr( "Click here to change package category to used filter." ) ); |
170 | connect( a, SIGNAL( activated() ), this, SLOT( setFilterCategory() ) ); | 170 | connect( a, SIGNAL( activated() ), this, SLOT( setFilterCategory() ) ); |
171 | a->addTo( popup ); | 171 | a->addTo( popup ); |
172 | 172 | ||
173 | popup->insertSeparator(); | 173 | popup->insertSeparator(); |
174 | 174 | ||
175 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "find" ), QString::null, 0, this, 0 ); | 175 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "find" ), QString::null, 0, this, 0 ); |
176 | a->setWhatsThis( tr( "Click here to search for text in package names." ) ); | 176 | a->setWhatsThis( tr( "Click here to search for text in package names." ) ); |
177 | connect( a, SIGNAL( activated() ), this, SLOT( displayFindBar() ) ); | 177 | connect( a, SIGNAL( activated() ), this, SLOT( displayFindBar() ) ); |
178 | a->addTo( popup ); | 178 | a->addTo( popup ); |
179 | 179 | ||
180 | actionFindNext = new QAction( tr( "Find next" ), Resource::loadIconSet( "next" ), QString::null, 0, this, 0 ); | 180 | actionFindNext = new QAction( tr( "Find next" ), Resource::loadIconSet( "next" ), QString::null, 0, this, 0 ); |
181 | actionFindNext->setEnabled( FALSE ); | 181 | actionFindNext->setEnabled( FALSE ); |
182 | actionFindNext->setWhatsThis( tr( "Click here to find the next package name containing the text you are searching for." ) ); | 182 | actionFindNext->setWhatsThis( tr( "Click here to find the next package name containing the text you are searching for." ) ); |
183 | connect( actionFindNext, SIGNAL( activated() ), this, SLOT( repeatFind() ) ); | 183 | connect( actionFindNext, SIGNAL( activated() ), this, SLOT( repeatFind() ) ); |
184 | actionFindNext->addTo( popup ); | 184 | actionFindNext->addTo( popup ); |
185 | actionFindNext->addTo( findBar ); | 185 | actionFindNext->addTo( findBar ); |
186 | 186 | ||
187 | 187 | ||
188 | popup->insertSeparator(); | 188 | popup->insertSeparator(); |
189 | 189 | ||
190 | a = new QAction( tr( "Quick Jump keypad" ), Resource::loadPixmap( "aqpkg/keyboard" ), QString::null, 0, this, 0 ); | 190 | a = new QAction( tr( "Quick Jump keypad" ), Resource::loadPixmap( "aqpkg/keyboard" ), QString::null, 0, this, 0 ); |
191 | a->setWhatsThis( tr( "Click here to display/hide keypad to allow quick movement through the package list." ) ); | 191 | a->setWhatsThis( tr( "Click here to display/hide keypad to allow quick movement through the package list." ) ); |
192 | connect( a, SIGNAL( activated() ), this, SLOT( displayJumpBar() ) ); | 192 | connect( a, SIGNAL( activated() ), this, SLOT( displayJumpBar() ) ); |
193 | a->addTo( popup ); | 193 | a->addTo( popup ); |
194 | 194 | ||
195 | mb->insertItem( tr( "View" ), popup ); | 195 | mb->insertItem( tr( "View" ), popup ); |
196 | 196 | ||
197 | 197 | ||
198 | // Options menu | 198 | // Options menu |
199 | popup = new QPopupMenu( this ); | 199 | popup = new QPopupMenu( this ); |
200 | 200 | ||
201 | a = new QAction( tr( "Configure" ), Resource::loadPixmap( "aqpkg/config" ), QString::null, 0, this, 0 ); | 201 | a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); |
202 | a->setWhatsThis( tr( "Click here to configure this application." ) ); | 202 | a->setWhatsThis( tr( "Click here to configure this application." ) ); |
203 | connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); | 203 | connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); |
204 | a->addTo( popup ); | 204 | a->addTo( popup ); |
205 | 205 | ||
206 | mb->insertItem( tr( "Options" ), popup ); | 206 | mb->insertItem( tr( "Options" ), popup ); |
207 | 207 | ||
208 | // Finish find toolbar creation | 208 | // Finish find toolbar creation |
209 | a = new QAction( QString::null, Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); | 209 | a = new QAction( QString::null, Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); |
210 | a->setWhatsThis( tr( "Click here to hide the find toolbar." ) ); | 210 | a->setWhatsThis( tr( "Click here to hide the find toolbar." ) ); |
211 | connect( a, SIGNAL( activated() ), this, SLOT( hideFindBar() ) ); | 211 | connect( a, SIGNAL( activated() ), this, SLOT( hideFindBar() ) ); |
212 | a->addTo( findBar ); | 212 | a->addTo( findBar ); |
213 | findBar->hide(); | 213 | findBar->hide(); |
214 | 214 | ||
215 | // Create widget stack and add UI widgets | 215 | // Create widget stack and add UI widgets |
216 | stack = new QWidgetStack( this ); | 216 | stack = new QWidgetStack( this ); |
217 | stack->addWidget( progressWindow, 2 ); | 217 | stack->addWidget( progressWindow, 2 ); |
218 | stack->addWidget( networkPkgWindow, 1 ); | 218 | stack->addWidget( networkPkgWindow, 1 ); |
219 | setCentralWidget( stack ); | 219 | setCentralWidget( stack ); |
220 | stack->raiseWidget( progressWindow ); | 220 | stack->raiseWidget( progressWindow ); |
221 | 221 | ||
222 | // Delayed call to finish initialization | 222 | // Delayed call to finish initialization |
223 | QTimer::singleShot( 100, this, SLOT( init() ) ); | 223 | QTimer::singleShot( 100, this, SLOT( init() ) ); |
224 | } | 224 | } |
225 | 225 | ||
226 | MainWindow :: ~MainWindow() | 226 | MainWindow :: ~MainWindow() |
227 | { | 227 | { |
228 | delete mgr; | 228 | delete mgr; |
229 | } | 229 | } |
230 | 230 | ||
231 | void MainWindow :: initMainWidget() | 231 | void MainWindow :: initMainWidget() |
232 | { | 232 | { |
233 | networkPkgWindow = new QWidget( this ); | 233 | networkPkgWindow = new QWidget( this ); |
234 | 234 | ||
235 | QLabel *l = new QLabel( tr( "Servers:" ), networkPkgWindow ); | 235 | QLabel *l = new QLabel( tr( "Servers:" ), networkPkgWindow ); |
236 | 236 | ||
237 | serversList = new QComboBox( networkPkgWindow ); | 237 | serversList = new QComboBox( networkPkgWindow ); |
238 | connect( serversList, SIGNAL( activated( int ) ), this, SLOT( serverSelected( int ) ) ); | 238 | connect( serversList, SIGNAL( activated( int ) ), this, SLOT( serverSelected( int ) ) ); |
239 | QWhatsThis::add( serversList, tr( "Click here to select a package feed." ) ); | 239 | QWhatsThis::add( serversList, tr( "Click here to select a package feed." ) ); |
240 | 240 | ||
241 | installedIcon = Resource::loadPixmap( "aqpkg/installed" ); | 241 | installedIcon = Resource::loadPixmap( "installed" ); |
242 | updatedIcon = Resource::loadPixmap( "aqpkg/updated" ); | 242 | updatedIcon = Resource::loadPixmap( "aqpkg/updated" ); |
243 | 243 | ||
244 | packagesList = new QListView( networkPkgWindow ); | 244 | packagesList = new QListView( networkPkgWindow ); |
245 | packagesList->addColumn( tr( "Packages" ), 225 ); | 245 | packagesList->addColumn( tr( "Packages" ), 225 ); |
246 | QWhatsThis::add( packagesList, tr( "This is a listing of all packages for the server feed selected above.\n\nA blue dot next to the package name indicates that the package is currently installed.\n\nA blue dot with a star indicates that a newer version of the package is available from the server feed.\n\nClick inside the box at the left to select a package." ) ); | 246 | QWhatsThis::add( packagesList, tr( "This is a listing of all packages for the server feed selected above.\n\nA blue dot next to the package name indicates that the package is currently installed.\n\nA blue dot with a star indicates that a newer version of the package is available from the server feed.\n\nClick inside the box at the left to select a package." ) ); |
247 | 247 | ||
248 | QVBoxLayout *vbox = new QVBoxLayout( networkPkgWindow, 0, -1 ); | 248 | QVBoxLayout *vbox = new QVBoxLayout( networkPkgWindow, 0, -1 ); |
249 | QHBoxLayout *hbox1 = new QHBoxLayout( vbox, -1 ); | 249 | QHBoxLayout *hbox1 = new QHBoxLayout( vbox, -1 ); |
250 | hbox1->addWidget( l ); | 250 | hbox1->addWidget( l ); |
251 | hbox1->addWidget( serversList ); | 251 | hbox1->addWidget( serversList ); |
252 | 252 | ||
253 | vbox->addWidget( packagesList ); | 253 | vbox->addWidget( packagesList ); |
254 | 254 | ||
255 | downloadEnabled = TRUE; | 255 | downloadEnabled = TRUE; |
256 | } | 256 | } |
257 | 257 | ||
258 | void MainWindow :: initProgressWidget() | 258 | void MainWindow :: initProgressWidget() |
259 | { | 259 | { |
260 | progressWindow = new QWidget( this ); | 260 | progressWindow = new QWidget( this ); |
261 | 261 | ||
262 | QVBoxLayout *layout = new QVBoxLayout( progressWindow, 4, 4 ); | 262 | QVBoxLayout *layout = new QVBoxLayout( progressWindow, 4, 4 ); |
263 | 263 | ||
264 | m_status = new QLabel( progressWindow ); | 264 | m_status = new QLabel( progressWindow ); |
265 | m_status->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) ); | 265 | m_status->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) ); |
266 | layout->addWidget( m_status ); | 266 | layout->addWidget( m_status ); |
267 | 267 | ||
268 | m_progress = new QProgressBar( progressWindow ); | 268 | m_progress = new QProgressBar( progressWindow ); |
269 | layout->addWidget( m_progress ); | 269 | layout->addWidget( m_progress ); |
270 | } | 270 | } |
271 | 271 | ||
272 | void MainWindow :: init() | 272 | void MainWindow :: init() |
273 | { | 273 | { |
274 | #ifdef QWS | 274 | #ifdef QWS |
275 | // read download directory from config file | 275 | // read download directory from config file |
276 | Config cfg( "aqpkg" ); | 276 | Config cfg( "aqpkg" ); |
277 | cfg.setGroup( "settings" ); | 277 | cfg.setGroup( "settings" ); |
278 | currentlySelectedServer = cfg.readEntry( "selectedServer", "local" ); | 278 | currentlySelectedServer = cfg.readEntry( "selectedServer", "local" ); |
279 | // showJumpTo = cfg.readBoolEntry( "showJumpTo", "true" ); | 279 | // showJumpTo = cfg.readBoolEntry( "showJumpTo", "true" ); |
280 | 280 | ||
281 | #endif | 281 | #endif |
282 | 282 | ||
283 | stack->raiseWidget( progressWindow ); | 283 | stack->raiseWidget( progressWindow ); |
284 | 284 | ||
285 | mgr = new DataManager(); | 285 | mgr = new DataManager(); |
286 | connect( mgr, SIGNAL( progressSetSteps( int ) ), this, SLOT( setProgressSteps( int ) ) ); | 286 | connect( mgr, SIGNAL( progressSetSteps( int ) ), this, SLOT( setProgressSteps( int ) ) ); |
287 | connect( mgr, SIGNAL( progressSetMessage( const QString & ) ), | 287 | connect( mgr, SIGNAL( progressSetMessage( const QString & ) ), |
288 | this, SLOT( setProgressMessage( const QString & ) ) ); | 288 | this, SLOT( setProgressMessage( const QString & ) ) ); |
289 | connect( mgr, SIGNAL( progressUpdate( int ) ), this, SLOT( updateProgress( int ) ) ); | 289 | connect( mgr, SIGNAL( progressUpdate( int ) ), this, SLOT( updateProgress( int ) ) ); |
290 | mgr->loadServers(); | 290 | mgr->loadServers(); |
291 | 291 | ||
292 | showUninstalledPkgs = false; | 292 | showUninstalledPkgs = false; |
293 | showInstalledPkgs = false; | 293 | showInstalledPkgs = false; |
294 | showUpgradedPkgs = false; | 294 | showUpgradedPkgs = false; |
295 | categoryFilterEnabled = false; | 295 | categoryFilterEnabled = false; |
296 | 296 | ||
297 | updateData(); | 297 | updateData(); |
298 | 298 | ||
299 | stack->raiseWidget( networkPkgWindow ); | 299 | stack->raiseWidget( networkPkgWindow ); |
300 | } | 300 | } |
301 | /* | 301 | /* |
302 | void MainWindow :: setDocument( const QString &doc ) | 302 | void MainWindow :: setDocument( const QString &doc ) |
303 | { | 303 | { |
304 | // Remove path from package | 304 | // Remove path from package |
305 | QString package = Utils::getPackageNameFromIpkFilename( doc ); | 305 | QString package = Utils::getPackageNameFromIpkFilename( doc ); |
306 | // std::cout << "Selecting package " << package << std::endl; | 306 | // std::cout << "Selecting package " << package << std::endl; |
307 | 307 | ||
308 | // First select local server | 308 | // First select local server |
309 | for ( int i = 0 ; i < serversList->count() ; ++i ) | 309 | for ( int i = 0 ; i < serversList->count() ; ++i ) |
310 | { | 310 | { |
311 | if ( serversList->text( i ) == LOCAL_IPKGS ) | 311 | if ( serversList->text( i ) == LOCAL_IPKGS ) |
312 | { | 312 | { |
313 | serversList->setCurrentItem( i ); | 313 | serversList->setCurrentItem( i ); |
314 | break; | 314 | break; |
315 | } | 315 | } |
316 | } | 316 | } |
317 | serverSelected( 0 ); | 317 | serverSelected( 0 ); |
318 | 318 | ||
319 | // Now set the check box of the selected package | 319 | // Now set the check box of the selected package |
320 | for ( QCheckListItem *item = (QCheckListItem *)packagesList->firstChild(); | 320 | for ( QCheckListItem *item = (QCheckListItem *)packagesList->firstChild(); |
321 | item != 0 ; | 321 | item != 0 ; |
322 | item = (QCheckListItem *)item->nextSibling() ) | 322 | item = (QCheckListItem *)item->nextSibling() ) |
323 | { | 323 | { |
324 | if ( item->text().startsWith( package ) ) | 324 | if ( item->text().startsWith( package ) ) |
325 | { | 325 | { |
326 | item->setOn( true ); | 326 | item->setOn( true ); |
327 | break; | 327 | break; |
328 | } | 328 | } |
329 | } | 329 | } |
330 | } | 330 | } |
331 | */ | 331 | */ |
332 | void MainWindow :: displaySettings() | 332 | void MainWindow :: displaySettings() |
333 | { | 333 | { |
334 | SettingsImpl *dlg = new SettingsImpl( mgr, this, "Settings", true ); | 334 | SettingsImpl *dlg = new SettingsImpl( mgr, this, "Settings", true ); |
335 | if ( dlg->showDlg() ) | 335 | if ( dlg->showDlg() ) |
336 | { | 336 | { |
337 | stack->raiseWidget( progressWindow ); | 337 | stack->raiseWidget( progressWindow ); |