remove operators in QPIConfig::Entry
git-svn-id: svn://db.shs.com.ru/libs@946 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -15,7 +15,7 @@ int main(int argc, char * argv[]) {
|
||||
ConnectionEdit w;
|
||||
if (a.arguments().size() > 1) {
|
||||
QPIConfig cfg(a.arguments()[1]);
|
||||
QByteArray model = cfg.getValue("connectionmodel", QByteArray());
|
||||
QByteArray model = cfg.getValue("connectionmodel").toByteArray();
|
||||
if (!model.isEmpty()) w.setModel(model);
|
||||
}
|
||||
if (w.exec() == QDialog::Accepted) {
|
||||
|
||||
Reference in New Issue
Block a user