Review Request 115212: Fix windows build + 1 compiler warning

Alexander Richardson arichardson.kde at googlemail.com
Wed Jan 22 14:49:39 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115212/
-----------------------------------------------------------

(Updated Jan. 22, 2014, 3:49 p.m.)


Review request for KDE Frameworks.


Repository: kxmlgui


Description
-------

4 separate  commits: 


1. Fix windows build with QT_NO_CAST_FROM_ASCII


2. m_collator already returs bool, remove check for < 0


3. Don't use foreach for this loop, it somehow breaks MSVC


4. Don't use uname() and getpwuid() directly

Added new functions that also do the right thing on Windows


Diffs (updated)
-----

  src/CMakeLists.txt 4516a9ee3da774788c76f30f15181fa0049a9d86 
  src/kbugreport.cpp 56f088106becbccca5e9731abc04118a19e36ba9 
  src/kgesture.cpp 49c927803b2e16806985d758103d3e359aa58dd4 
  src/kkeysequencewidget.cpp cc9016b776c16984b83a36a2742526ede624bf5e 
  src/ksendbugmail/CMakeLists.txt 12b4926ecddeb023315f6074ab57cfe6cdee65ff 
  src/ksendbugmail/main.cpp 8f85f315f0746bb774175114b1e284e899957fd3 
  src/ksendbugmail/smtp.cpp 90b6b98467b0c220cfef18bc35cf3c07df9a8cf3 
  src/kshortcutseditoritem.cpp 086f833fc505f69a3b0dbe6fceffdb94ecd60330 
  src/systeminformation_p.h PRE-CREATION 

Diff: https://git.reviewboard.kde.org/r/115212/diff/


Testing
-------

now it compiles on windows and Linux is still fine


Thanks,

Alexander Richardson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140122/938f5437/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list