- Timestamp:
- Aug 4, 2012, 8:55:16 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r4490 r4491 89 89 displaySet = true; 90 90 if (QRegExp("--display").exactMatch(argv[ii])) { 91 argv[ii] = "-display";91 strcpy(argv[ii], "-display"); 92 92 } 93 93 } … … 113 113 #endif 114 114 115 #ifdef Q_WS_X11 116 bool GUIenabled = getenv("DISPLAY") != 0; 117 #else 118 bool GUIenabled = true; 119 #endif 120 115 bool GUIenabled = interactive || displaySet; 121 116 bncApp app(argc, argv, GUIenabled); 122 117
Note:
See TracChangeset
for help on using the changeset viewer.