> On July 20, 2016, 8:13 a.m., Thomas Baumgart wrote: > > kmymoney/plugins/csvimport/csvwizard.cpp, line 62 > > <https://git.reviewboard.kde.org/r/128470/diff/1/?file=471876#file471876line62> > > > > Not sure if using KIconLoader is the way to go on KF5. Maybe one of our > > KF5 experts can make a call.
I think it is. Please look at 5th bullet of https://community.kde.org/Frameworks/Porting_Notes#KIO_Changes and see that loadIcon https://api.kde.org/frameworks/kiconthemes/html/classKIconLoader.html#a90071d66e2476575985f91a1b6856cc5 is basically like loadMimeTypeIcon mentioned in first link https://api.kde.org/frameworks/kiconthemes/html/classKIconLoader.html#a004929c419a895702c5855aeef91718f If it should be otherwise, let me know and I'll try to make appropriate patch. - Łukasz ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/128470/#review97638 ----------------------------------------------------------- On July 16, 2016, 5:36 p.m., Łukasz Wojniłowicz wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/128470/ > ----------------------------------------------------------- > > (Updated July 16, 2016, 5:36 p.m.) > > > Review request for KMymoney. > > > Repository: kmymoney > > > Description > ------- > > CSVWizard window size should be relative and not absolute, so the window > can adapt itself according to user settings and display device. > I guess this review contains also content of review #128469, but reviewboard > doesn't accept diff otherwise. > What I changed here is: > 1) changed KComboBox to QComboBox, because we don't use completion, > 2) removed fixed policy out of every element, > 3) removed redundant settings, > 4) removed maximum/minimum size hints, > 5) removed fixed size fonts, > 6) removed code for resizing CSVWizard according to hardcoded values, > 7) made every page resizable (i.e. steady expansion in all directions of > available area), > 8) made page layouts consistent, > 9) enabled wordwrap for header of every page to avoid unsolicited window > stretching. > > > Diffs > ----- > > kmymoney/plugins/csvimport/bankingwizardpage.ui 95e5276 > kmymoney/plugins/csvimport/completionwizardpage.ui ce62f00 > kmymoney/plugins/csvimport/csvdialog.h d226665 > kmymoney/plugins/csvimport/csvdialog.cpp 4fff108 > kmymoney/plugins/csvimport/csvwizard.h 0bf1e59 > kmymoney/plugins/csvimport/csvwizard.cpp 39bf9f2 > kmymoney/plugins/csvimport/csvwizard.ui 5c42f46 > kmymoney/plugins/csvimport/introwizardpage.ui bc0f850 > kmymoney/plugins/csvimport/investmentwizardpage.ui 46f6e29 > kmymoney/plugins/csvimport/investprocessing.cpp e0d2b8f > kmymoney/plugins/csvimport/lines-datewizardpage.ui 5d21372 > kmymoney/plugins/csvimport/redefinedlgdecl.ui 341e7bd > kmymoney/plugins/csvimport/separatorwizardpage.ui 2831133 > kmymoney/plugins/csvimport/symboltabledlg.ui 60f9166 > > Diff: https://git.reviewboard.kde.org/r/128470/diff/ > > > Testing > ------- > > Banking and investment statement CSV imports; window resizing; different dpi > settings > > > Thanks, > > Łukasz Wojniłowicz > >