Summary: | datawizard only partially obeys path shortcuts like '~' | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Matthew Truch <matt> |
Component: | general | Assignee: | George Staikos <staikos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kst |
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Matthew Truch
2005-07-06 01:16:28 UTC
investigating SVN commit 432050 by staikos: Complete shell variables and other fancy things properly. BUG: 108617 M +3 -2 datawizard.ui.h --- trunk/extragear/graphics/kst/kst/datawizard.ui.h #432049:432050 @@ -111,14 +111,15 @@ } -void DataWizard::sourceChanged(const QString& txt) +void DataWizard::sourceChanged(const QString& text) { delete _configWidget; _configWidget = 0L; _configureSource->setEnabled(false); _file = QString::null; - if (!txt.isEmpty() && txt != "stdin" && txt != "-") { + if (!text.isEmpty() && text != "stdin" && text != "-") { KURL url; + QString txt = _url->completionObject()->replacedPath(text); if (QFile::exists(txt) && QFileInfo(txt).isRelative()) { url.setPath(txt); } else { |