]> git.sur5r.net Git - bacula/bacula/commitdiff
Set UTF-8 codec in bat for char * -> UTF-16
authorKern Sibbald <kern@sibbald.com>
Tue, 22 May 2007 10:54:56 +0000 (10:54 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 22 May 2007 10:54:56 +0000 (10:54 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4874 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/fileset/fileset.cpp
bacula/src/qt-console/main.cpp

index ded84d15d64fda8c7b8e9f0fd93163c72c8c9cb6..905322e8b25d7f2c5bb9892289ab299df267abac 100644 (file)
@@ -73,7 +73,7 @@ void FileSet::populateTree()
    mp_treeWidget->clear();
    m_checkcurwidget = true;
 
-   QStringList headerlist = (QStringList() << "FileSet Name" << "FileSet Id"
+   QStringList headerlist = (QStringList() << "  FileSet Name  " << "FileSet Id"
        << "Create Time");
 
    topItem = new QTreeWidgetItem(mp_treeWidget);
index bebafdaa0e42b87191fb3cc5c4a126a3387e7077..f6cb2bf54775d468f92c4285685d63c1942f469a 100644 (file)
@@ -60,6 +60,7 @@ int main(int argc, char *argv[])
 
    app = new QApplication(argc, argv);        
    app->setQuitOnLastWindowClosed(true);
+   QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
 
 
 #ifdef ENABLE_NLS