author | kergoth <kergoth> | 2003-04-10 19:59:43 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-10 19:59:43 (UTC) |
commit | 6d5cc2d076a93ee56b898f91fc22adb29acc6f9d (patch) (unidiff) | |
tree | a828b3afeb7d65a15c82c2d01e539679cfbe97c4 | |
parent | 481e92dc3ef3f789208fd696aca62d87dafff9ae (diff) | |
download | opie-6d5cc2d076a93ee56b898f91fc22adb29acc6f9d.zip opie-6d5cc2d076a93ee56b898f91fc22adb29acc6f9d.tar.gz opie-6d5cc2d076a93ee56b898f91fc22adb29acc6f9d.tar.bz2 |
No qt3 widget flags!!!
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index da21c05..765b522 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp | |||
@@ -404,33 +404,33 @@ void MainWindowImp::informationClicked(){ | |||
404 | Interface *i = interfaceItems[item]; | 404 | Interface *i = interfaceItems[item]; |
405 | if(!i->isAttached()){ | 405 | if(!i->isAttached()){ |
406 | QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok); | 406 | QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok); |
407 | return; | 407 | return; |
408 | } | 408 | } |
409 | 409 | ||
410 | if(i->getModuleOwner()){ | 410 | if(i->getModuleOwner()){ |
411 | QWidget *moduleInformation = i->getModuleOwner()->information(i); | 411 | QWidget *moduleInformation = i->getModuleOwner()->information(i); |
412 | if(moduleInformation != NULL){ | 412 | if(moduleInformation != NULL){ |
413 | moduleInformation->showMaximized(); | 413 | moduleInformation->showMaximized(); |
414 | #ifdef DEBUG | 414 | #ifdef DEBUG |
415 | qDebug("MainWindowImp::informationClicked:: Module owner has created, we showed."); | 415 | qDebug("MainWindowImp::informationClicked:: Module owner has created, we showed."); |
416 | #endif | 416 | #endif |
417 | return; | 417 | return; |
418 | } | 418 | } |
419 | } | 419 | } |
420 | InterfaceInformationImp *information = new InterfaceInformationImp(this, "InterfaceSetupImp", i, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WType_Dialog); | 420 | InterfaceInformationImp *information = new InterfaceInformationImp(this, "InterfaceSetupImp", i, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WStyle_Dialog); |
421 | information->showMaximized(); | 421 | information->showMaximized(); |
422 | } | 422 | } |
423 | 423 | ||
424 | /** | 424 | /** |
425 | * Update this interface. If no QListViewItem exists create one. | 425 | * Update this interface. If no QListViewItem exists create one. |
426 | * @param Interface* pointer to the interface that needs to be updated. | 426 | * @param Interface* pointer to the interface that needs to be updated. |
427 | */ | 427 | */ |
428 | void MainWindowImp::updateInterface(Interface *i){ | 428 | void MainWindowImp::updateInterface(Interface *i){ |
429 | if(!advancedUserMode){ | 429 | if(!advancedUserMode){ |
430 | if(i->getInterfaceName() == "lo") | 430 | if(i->getInterfaceName() == "lo") |
431 | return; | 431 | return; |
432 | } | 432 | } |
433 | 433 | ||
434 | QListViewItem *item = NULL; | 434 | QListViewItem *item = NULL; |
435 | 435 | ||
436 | // Find the interface, making it if needed. | 436 | // Find the interface, making it if needed. |