pkgsrc/databases/kmysqladmin/patches/patch-ac

20 lines
893 B
Text
Raw Normal View History

$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,