summaryrefslogtreecommitdiffstats
path: root/newimagegui.cpp
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-09-27 17:21:26 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2009-09-27 17:21:26 -0400
commit89c443bd183ffe579625d94545026d7243207a9f (patch)
tree178480cdedbc7c839cc18f5fd78f4b7b08c36cbc /newimagegui.cpp
parentAdd from ISO (diff)
downloadAnyRip-89c443bd183ffe579625d94545026d7243207a9f.tar.xz
AnyRip-89c443bd183ffe579625d94545026d7243207a9f.zip
Termination, slotted dvd title loading, framework fixes.
Diffstat (limited to 'newimagegui.cpp')
-rw-r--r--newimagegui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/newimagegui.cpp b/newimagegui.cpp
index ebda750..69298ad 100644
--- a/newimagegui.cpp
+++ b/newimagegui.cpp
@@ -48,7 +48,7 @@ void NewImageGui::validateName(const QString &name)
{
QSettings settings;
settings.beginGroup(QLatin1String("Videos"));
- m_importImageButton->setEnabled(!settings.childGroups().contains(name));
+ m_importImageButton->setEnabled(!settings.childGroups().contains(QString(name).replace(QChar('/'), QChar('-'))) && !name.trimmed().isEmpty());
}
void NewImageGui::browse()
{