MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / loadLine

Function loadLine

src/tablocations.cpp:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181static void loadLine(QSettings *s, QLineEdit *line, const char *key)
182{
183 qlonglong x = line->text().toLongLong();
184 line->setText( QString::number(s->value(key, x).toLongLong()) );
185}
186void TabLocations::load(QSettings& settings)
187{
188 loadLine(&settings, ui->lineN, "analysis/samplecnt");

Callers 1

loadMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected