mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-01-13 15:11:08 +02:00
Fixed mistake in 8bcd03962f2fb1c6166eebd280b6648d3387eac8.
"iclock" is not a local variable: it is a field, so it should be updated.
This commit is contained in:
parent
03ea679a1d
commit
6729e30acb
@ -145,9 +145,10 @@ const string &LinkApp::clockStr(int maxClock) {
|
||||
}
|
||||
|
||||
void LinkApp::setClock(int mhz) {
|
||||
iclock = mhz;
|
||||
stringstream ss;
|
||||
sclock = "";
|
||||
ss << mhz << "MHz";
|
||||
ss << iclock << "MHz";
|
||||
ss >> sclock;
|
||||
|
||||
edited = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user