Mercurial > hg > easyhg
comparison mainwindow.cpp @ 31:552a49635124
Version 0.4.7. Small fix in mru list.
author | Jari Korhonen <jtkorhonen@gmail.com> |
---|---|
date | Mon, 14 Jun 2010 22:04:52 +0300 |
parents | 45bfb8dc1faf |
children | 4f307720272f |
comparison
equal
deleted
inserted
replaced
30:45bfb8dc1faf | 31:552a49635124 |
---|---|
1295 QString tmp; | 1295 QString tmp; |
1296 | 1296 |
1297 tmp.sprintf("remoterepomrupath%d", i); | 1297 tmp.sprintf("remoterepomrupath%d", i); |
1298 remoteRepoMruList[i] = settings.value(tmp, "").toString(); | 1298 remoteRepoMruList[i] = settings.value(tmp, "").toString(); |
1299 | 1299 |
1300 tmp.sprintf("workfoldermru%d", i); | 1300 tmp.sprintf("workfoldermrupath%d", i); |
1301 workFolderMruList[i] = settings.value(tmp, "").toString(); | 1301 workFolderMruList[i] = settings.value(tmp, "").toString(); |
1302 } | 1302 } |
1303 | 1303 |
1304 userInfo = settings.value("userinfo", "").toString(); | 1304 userInfo = settings.value("userinfo", "").toString(); |
1305 | 1305 |
1326 QString tmp; | 1326 QString tmp; |
1327 | 1327 |
1328 tmp.sprintf("remoterepomrupath%d", i); | 1328 tmp.sprintf("remoterepomrupath%d", i); |
1329 settings.setValue(tmp, remoteRepoMruList[i]); | 1329 settings.setValue(tmp, remoteRepoMruList[i]); |
1330 | 1330 |
1331 tmp.sprintf("workfoldermru%d", i); | 1331 tmp.sprintf("workfoldermrupath%d", i); |
1332 settings.setValue(tmp, workFolderMruList[i]); | 1332 settings.setValue(tmp, workFolderMruList[i]); |
1333 } | 1333 } |
1334 | 1334 |
1335 settings.setValue("userinfo", userInfo); | 1335 settings.setValue("userinfo", userInfo); |
1336 settings.setValue("firststart", firstStart); | 1336 settings.setValue("firststart", firstStart); |