summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/IdentifyTextCodecDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
committerTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
commit4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch)
tree995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/gui/dialogs/IdentifyTextCodecDialog.cpp
parent1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff)
downloadrosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz
rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip
Fix FTBFS
Diffstat (limited to 'src/gui/dialogs/IdentifyTextCodecDialog.cpp')
-rw-r--r--src/gui/dialogs/IdentifyTextCodecDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/IdentifyTextCodecDialog.cpp b/src/gui/dialogs/IdentifyTextCodecDialog.cpp
index 0a0dbd1..a3d905d 100644
--- a/src/gui/dialogs/IdentifyTextCodecDialog.cpp
+++ b/src/gui/dialogs/IdentifyTextCodecDialog.cpp
@@ -160,7 +160,7 @@ IdentifyTextCodecDialog::slotCodecSelected(int i)
// std::cerr << "codecs: ";
// for (int j = 0; j < m_codecs.size(); ++j) std::cerr << m_codecs[j] << " ";
// std::cerr << std::endl;
- TQTextCodec *codec = TQTextCodec::codecForName(strtoqstr(name));
+ TQTextCodec *codec = TQTextCodec::codecForName(strtoqstr(name).ascii());
if (!codec) return;
m_codec = qstrtostr(codec->name());
std::cerr << "Applying codec " << m_codec << std::endl;