Changeset 19 for psi/trunk/src/mainwin.cpp
- Timestamp:
- 09/05/06 01:31:01 (2 years ago)
- Files:
-
- 1 modified
-
psi/trunk/src/mainwin.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
psi/trunk/src/mainwin.cpp
r2 r19 449 449 void MainWin::setUseDock(bool use) 450 450 { 451 #ifdef Q_WS_PM 452 /// @todo (dmik) disable the docklet until the xCenter plugin is implemented 453 // (this ifdef is necessary in order to share the same config between 454 // different platforms where the Use Docklet option may be set to true. 455 return; 456 #else 451 457 if(use == false || (d->tray && option.isWMDock != d->tray->isWMDock())) { 452 458 if(d->tray) { … … 478 484 479 485 d->tray->show(); 486 #endif 480 487 } 481 488 … … 688 695 void MainWin::actReadmeActivated () 689 696 { 690 #if def Q_WS_WIN697 #if defined(Q_WS_WIN) || defined(Q_OS_OS2) 691 698 ShowTextDlg *w = new ShowTextDlg(g.pathBase + "/readme.txt"); 692 699 #else … … 868 875 #endif 869 876 870 if(allowed && closekey) { 871 close(); 877 if(closekey) { 878 #ifdef Q_WS_MAC 879 if(allowed) { 880 close(); 881 e->accept(); 882 return; 883 } 884 #else 885 if(allowed) 886 close(); 887 else 888 showMinimized(); 872 889 e->accept(); 873 890 return; 891 #endif 874 892 } 875 893
