Ignore:
Timestamp:
Sep 5, 2006, 1:31:01 AM (19 years ago)
Author:
dmik
Message:

UI: Misc changes:

  • Added OS/2-related definitions.
  • On all platforms but Mac, the main (roster) window will be minimized (instead of closing) when Esc is pressed, but the doclet window is disabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • psi/trunk/src/common.cpp

    r2 r19  
    2727
    2828QString PROG_NAME = "Psi";
     29
     30
     31
    2932//QString PROG_VERSION = "0.11-dev" " (" __DATE__ ")"; //CVS Builds are dated
    3033QString PROG_VERSION = "0.10";
     34
    3135
    3236#ifdef HAVE_CONFIG
     
    5862#ifdef Q_WS_WIN
    5963#include<windows.h>
     64
     65
     66
     67
     68
    6069#endif
    6170
     
    9951004                useCustom = FALSE;
    9961005#endif
     1006
     1007
     1008
    9971009#ifdef Q_WS_X11
    9981010        if(option.browser == 0 || option.browser == 2)
     
    10401052                        QMessageBox::critical(0, CAP(QObject::tr("URL error")), QObject::tr("Unable to open the URL. Ensure that you have a web browser installed."));
    10411053                }
     1054
     1055
     1056
    10421057#endif
    10431058#ifdef Q_WS_X11
     
    11021117static void getSysInfo()
    11031118{
    1104 #if defined(Q_WS_X11) || defined(Q_WS_MAC)
     1119#if defined(Q_WS_X11) || defined(Q_WS_MAC) || defined(Q_WS_PM)
     1120        /// @todo (dmik) test it
    11051121        time_t x;
    11061122        time(&x);
     
    12061222                }
    12071223        }
     1224
     1225
    12081226#elif defined(Q_WS_MAC)
    12091227        os_str = "Mac OS X";
     
    13281346        else
    13291347                base = QDir::homeDirPath();
     1348
     1349
     1350
     1351
     1352
     1353
     1354
     1355
     1356
     1357
     1358
     1359
     1360
     1361
     1362
     1363
     1364
     1365
     1366