Hi! I'm doing this task:
IN PROGRESSQInputDialog should have an equivalent of KInputDialog::getDouble with configurable stepDavid Gil ( https://codereview.qt-project.org/54378) The thing is that there are two ugly alternatives (Giuseppe d'Angelo): If you really want an overload taking a step, you need a new overload and arrange the arguments in a way that you don't have an ambiguous overload with this one -- usually it means adding it at the end and making all parameters w/o default values (eww). Or, adding a getDoubleWithStep method (eww again). Lars Knoll then says: I'd go for the getDoubleWithStep() method. It's a bit ugly, but at least it won't lead to hidden bugs. Before I do anything I'd like to ask to this mailing list whether I should add that getDoubleWithStep() method or I should abandon the task. Best regards, David Gil www.hackingastrology.net
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel