diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-05-05 22:35:47 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-05-05 22:35:47 +0200 |
commit | 72e6e0401677740a286ab937194c61db1448e4c9 (patch) | |
tree | c39de5f7b2fbfbcf02bb4c9c514fefde4cd2a07b /plugingui/drumkitframecontent.cc | |
parent | 33639dddd8b1b01739994b7427d70ffc676cb22d (diff) |
Refactor TextEdit widget.
Diffstat (limited to 'plugingui/drumkitframecontent.cc')
-rw-r--r-- | plugingui/drumkitframecontent.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/drumkitframecontent.cc b/plugingui/drumkitframecontent.cc index 3752cc3..f90f346 100644 --- a/plugingui/drumkitframecontent.cc +++ b/plugingui/drumkitframecontent.cc @@ -147,7 +147,7 @@ void DrumkitframeContent::resize(std::size_t width, std::size_t height) void DrumkitframeContent::kitBrowseClick() { - std::string path = drumkit_file.getLineEdit().text(); + std::string path = drumkit_file.getLineEdit().getText(); if(path == "") { path = config.lastkit; @@ -155,7 +155,7 @@ void DrumkitframeContent::kitBrowseClick() if(path == "") { - path = midimap_file.getLineEdit().text(); + path = midimap_file.getLineEdit().getText(); } file_browser.setPath(path); @@ -166,7 +166,7 @@ void DrumkitframeContent::kitBrowseClick() void DrumkitframeContent::midimapBrowseClick() { - std::string path = midimap_file.getLineEdit().text(); + std::string path = midimap_file.getLineEdit().getText(); if(path == "") { path = config.lastmidimap; @@ -174,7 +174,7 @@ void DrumkitframeContent::midimapBrowseClick() if(path == "") { - path = drumkit_file.getLineEdit().text(); + path = drumkit_file.getLineEdit().getText(); } file_browser.setPath(path); |