Quoth Sl�vek Banko.....
Because locateLocal expects a TQString value as argument, I suggest
using this fact and make the patch simpler:
- TDELockFile lock(locateLocal("tmp",
"kdesktop_lock_lockfile"));
+ TDELockFile lock(locateLocal("tmp",
TQString("kdesktop_lock_lockfile.%1").arg(getenv("DISPLAY"))));
Thank you Sl�vek, I thought there would be a TDE/TQT way of doing this.
I'll change my in-use version to this.
--
Regards,
Russell
--------------------------------------------------------------------
| Russell Brown | MAIL: russell(a)lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work:
http://www.lls.com |
| Peterborough, England | WWW Play:
http://www.ruffle.me.uk |
--------------------------------------------------------------------