summaryrefslogtreecommitdiff
path: root/databases/kmysqladmin/patches/patch-ac
blob: 82dba01dd0ef71e5af4853ed1b89315932b8764d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ac,v 1.2 2004/12/27 23:35:01 markd Exp $

--- kmysqladmin/MainWindow.cpp.orig	2004-12-28 12:18:13.000000000 +1300
+++ kmysqladmin/MainWindow.cpp
@@ -285,10 +285,10 @@ void CMainWindow::ConnectQuick(const QSt
 {
     if (which.length()==0) return;
     QMap<QString,QString> qvals = GlobalSettings.getConnectProfile(which);
-    _connect(qvals[Settings_defines::_PROFILES_user],
-        qvals[Settings_defines::_PROFILES_host],
-        qvals[Settings_defines::_PROFILES_port],
-        qvals[Settings_defines::_PROFILES_pass]);
+    _connect(qvals[Settings_defines::_PROFILES_user].latin1(),
+        QT_TO_STL_STRING(qvals[Settings_defines::_PROFILES_host]),
+        QT_TO_STL_STRING(qvals[Settings_defines::_PROFILES_port]),
+        QT_TO_STL_STRING(qvals[Settings_defines::_PROFILES_pass]));
 }
 
 void CMainWindow::_connect(const std::string&user,const std::string&host,