src/partDownloader.cc

changeset 839
5f822ad61875
parent 816
9adb822de7b9
child 840
d077dd19bf9a
equal deleted inserted replaced
838:8f58e1249687 839:5f822ad61875
93 delete interface(); 93 delete interface();
94 } 94 }
95 95
96 // ============================================================================= 96 // =============================================================================
97 // 97 //
98 QString PartDownloader::getURL() const 98 QString PartDownloader::getURL()
99 { 99 {
100 const Source src = getSource(); 100 const Source src = getSource();
101 QString dest; 101 QString dest;
102 102
103 switch (src) 103 switch (src)
104 { 104 {
105 case PartsTracker: 105 case PartsTracker:
106 dest = interface()->fname->text(); 106 dest = interface()->fname->text();
107 modifyDestination (dest); 107 modifyDestination (dest);
108 interface()->fname->setText (dest);
108 return g_unofficialLibraryURL + dest; 109 return g_unofficialLibraryURL + dest;
109 110
110 case CustomURL: 111 case CustomURL:
111 return interface()->fname->text(); 112 return interface()->fname->text();
112 } 113 }

mercurial