summaryrefslogtreecommitdiffstats
path: root/config/qtcurveconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config/qtcurveconfig.cpp')
-rw-r--r--config/qtcurveconfig.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/config/qtcurveconfig.cpp b/config/qtcurveconfig.cpp
index 68e7c7a..4d9329e 100644
--- a/config/qtcurveconfig.cpp
+++ b/config/qtcurveconfig.cpp
@@ -799,7 +799,7 @@ QtCurveConfig::~QtCurveConfig()
void QtCurveConfig::loadStyles(TQPopupMenu *menu)
{
- TQStringList files(TDEGlobal::dirs()->findAllResources("data", "QtCurve/*"EXTENSION, false, true));
+ TQStringList files(TDEGlobal::dirs()->findAllResources("data", "QtCurve/*" EXTENSION, false, true));
files.sort();
@@ -1374,9 +1374,11 @@ void QtCurveConfig::roundChanged()
void QtCurveConfig::importStyle()
{
TQString file(KFileDialog::getOpenFileName(TQString::null,
- i18n("*"EXTENSION"|QtCurve Settings Files\n"
- THEME_PREFIX"*"THEME_SUFFIX"|QtCurve TDE Theme Files"),
- this));
+ TQString("*%1|").arg(EXTENSION)+
+ i18n("QtCurve Settings Files") + "\n" +
+ TQString("%2*%3|").arg(THEME_PREFIX).arg(THEME_SUFFIX)+
+ i18n("QtCurve TDE Theme Files"),
+ this));
if(!file.isEmpty())
loadStyle(file);
@@ -1384,7 +1386,7 @@ void QtCurveConfig::importStyle()
void QtCurveConfig::exportStyle()
{
- TQString file(KFileDialog::getSaveFileName(TQString::null, i18n("*"EXTENSION"|QtCurve Settings Files"), this));
+ TQString file(KFileDialog::getSaveFileName(TQString::null, TQString("*%1|").arg(EXTENSION)+i18n("QtCurve Settings Files"), this));
if(!file.isEmpty())
{