add xml attributes for combobox node and add resolution selection for new doc
This commit is contained in:
@@ -43,23 +43,6 @@ void NodeDialogCloud::loaded()
|
||||
{
|
||||
}
|
||||
|
||||
std::vector<std::string> split(const std::string& subject, char d, int max_split = 0)
|
||||
{
|
||||
std::vector<std::string> ret;
|
||||
int start = 0;
|
||||
int n = subject.find_first_of(d);
|
||||
while (n != std::string::npos)
|
||||
{
|
||||
ret.push_back(subject.substr(start, n - start));
|
||||
start = n + 1;
|
||||
if (max_split && ret.size() == max_split)
|
||||
break;
|
||||
n = subject.find_first_of(d, start);
|
||||
}
|
||||
ret.push_back(subject.substr(start));
|
||||
return ret;
|
||||
}
|
||||
|
||||
void NodeDialogCloud::load_thumbs_thread()
|
||||
{
|
||||
CURL *curl = curl_easy_init();
|
||||
|
||||
Reference in New Issue
Block a user