[kwalletmanager] MInor fixes in main.cpp

Review Request #120463 - Created Oct. 2, 2014 and submitted

Information
Arjun AK
kwalletmanager
frameworks
Reviewers
kdeutils
vrusu

1.wm.openwallet() should be executed if the argument is not a file
2.Start loop from second argument since the first argument is the name of program
3.Store the arguments into a variable since QCoreApplication::arguments() is expensive


  
Valentin Rusu
Arjun AK
Review request changed

Status: Closed (submitted)

Loading...