aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme
diff options
context:
space:
mode:
authorGravatar Fabio Bas2009-09-17 21:05:58 +0000
committerGravatar Fabio Bas2009-09-17 21:05:58 +0000
commit16f6a48282a09d8009d576c50b5940a2e03e721a (patch)
tree32f44b8d1cb8396722bb07050d305cab48c59358 /src/modules/theme
parentremoved uselss comment (diff)
downloadKVIrc-16f6a48282a09d8009d576c50b5940a2e03e721a.tar.gz
KVIrc-16f6a48282a09d8009d576c50b5940a2e03e721a.tar.bz2
KVIrc-16f6a48282a09d8009d576c50b5940a2e03e721a.zip
fix for #557 and checked all commondialogs extension filters
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3507 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme')
-rw-r--r--src/modules/theme/savethemedialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp
index 7741a6e69..cea3933b7 100644
--- a/src/modules/theme/savethemedialog.cpp
+++ b/src/modules/theme/savethemedialog.cpp
@@ -158,8 +158,7 @@ KviSaveThemeDialog::KviSaveThemeDialog(QWidget * pParent)
m_pImageLabel->setAlignment(Qt::AlignCenter | Qt::AlignVCenter);
pLayout->addWidget(m_pImageLabel,1,0);
- QString szFilter = "*.png *.jpg *.xpm";
- m_pImageSelector = new KviFileSelector(pPage,"",&m_szScreenshotPath,true,0,szFilter);
+ m_pImageSelector = new KviFileSelector(pPage,"",&m_szScreenshotPath,true,0,KVI_FILTER_IMAGE);
connect(m_pImageSelector,SIGNAL(selectionChanged(const QString &)),this,SLOT(imageSelectionChanged(const QString &)));
pLayout->addWidget(m_pImageSelector,2,0);