Skip to content

Instantly share code, notes, and snippets.

@nosada
Created September 22, 2013 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nosada/6657616 to your computer and use it in GitHub Desktop.
Save nosada/6657616 to your computer and use it in GitHub Desktop.
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