- Timestamp:
- Sep 10, 2006, 6:29:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
psi/trunk/src/common.cpp
r19 r44 27 27 28 28 QString PROG_NAME = "Psi"; 29 #ifdef Q_WS_PM 30 QString PROG_VERSION = "0.10-os2-b1 (" __DATE__ ")"; // OS/2 versions are betas yet 31 #else 32 //QString PROG_VERSION = "0.11-dev" " (" __DATE__ ")"; //CVS Builds are dated 33 QString PROG_VERSION = "0.10"; 34 #endif 29 QString PROG_VERSION = "0.10-os2-b2-dev (" __DATE__ ")"; 35 30 36 31 #ifdef HAVE_CONFIG … … 1747 1742 #endif 1748 1743 1749 void bringToFront(QWidget *w, bool )1744 void bringToFront(QWidget *w, bool grabFocus /* = true */) 1750 1745 { 1751 1746 #ifdef Q_WS_X11 … … 1771 1766 w->showNormal(); 1772 1767 } 1773 //if(grabFocus) 1774 // w->setActiveWindow(); 1768 1769 #ifdef Q_WS_WIN 1775 1770 w->raise(); 1776 w->setActiveWindow(); 1771 if (grabFocus) 1772 w->setActiveWindow(); 1773 #else 1774 if(grabFocus) 1775 w->setActiveWindow(); 1776 else 1777 w->raise(); 1778 #endif 1777 1779 } 1778 1780
Note:
See TracChangeset
for help on using the changeset viewer.