void CdbSymbolPathListEditor::addSymbolPath(CdbSymbolPathListEditor::SymbolPathMode mode) { QString cacheDir; if (promptCacheDirectory(this, &cacheDir)) insertPathAtCursor(CdbSymbolPathListEditor::symbolPath(cacheDir, mode)); }
void CdbSymbolPathListEditor::addSymbolServer() { const QString cacheDir = promptCacheDirectory(this); if (!cacheDir.isEmpty()) insertPathAtCursor(CdbSymbolPathListEditor::symbolServerPath(cacheDir)); }