[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Wed Jul 6 02:20:11 CEST 2005
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 {
More information about the Kst
mailing list