Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
patch for qtemu-1.0.5/machinetab.cpp
--- machinetab.cpp.old 2007-11-13 04:31:00.000000000 +0900
+++ machinetab.cpp 2013-09-22 15:33:23.563347043 +0900
@@ -137,13 +137,13 @@
memoryFrameLayout->addWidget(memoryDescriptionLabel);
memorySlider = new QSlider(Qt::Horizontal, this);
- memorySlider->setRange(4, 1024);
+ memorySlider->setRange(4, 4096);
memorySlider->setSingleStep(4);
memorySlider->setTickPosition(QSlider::TicksBelow);
memorySlider->setTickInterval(64);
QSpinBox *memorySpinBox = new QSpinBox(this);
- memorySpinBox->setRange(4, 1024);
+ memorySpinBox->setRange(4, 4096);
memorySpinBox->setSingleStep(4);
QLabel *memoryMbLabel = new QLabel(tr("MB"), this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment