diff options
| author | 2014-12-19 22:16:34 -0500 | |
|---|---|---|
| committer | 2014-12-20 10:03:36 -0500 | |
| commit | e7956926147d2d2ac6741aee8a150466a5438ca3 (patch) | |
| tree | 8a06a500c34248c12fff47998131742c4ca72390 /src/citra_qt/util/spinbox.cpp | |
| parent | Merge pull request #309 from chinhodado/patch-1 (diff) | |
| download | yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.gz yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.xz yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.zip | |
Clean up some warnings
Diffstat (limited to 'src/citra_qt/util/spinbox.cpp')
| -rw-r--r-- | src/citra_qt/util/spinbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/util/spinbox.cpp b/src/citra_qt/util/spinbox.cpp index 9672168f5..24ea3a967 100644 --- a/src/citra_qt/util/spinbox.cpp +++ b/src/citra_qt/util/spinbox.cpp | |||
| @@ -238,7 +238,7 @@ QValidator::State CSpinBox::validate(QString& input, int& pos) const | |||
| 238 | if (!prefix.isEmpty() && input.left(prefix.length()) != prefix) | 238 | if (!prefix.isEmpty() && input.left(prefix.length()) != prefix) |
| 239 | return QValidator::Invalid; | 239 | return QValidator::Invalid; |
| 240 | 240 | ||
| 241 | unsigned strpos = prefix.length(); | 241 | int strpos = prefix.length(); |
| 242 | 242 | ||
| 243 | // Empty "numbers" allowed as intermediate values | 243 | // Empty "numbers" allowed as intermediate values |
| 244 | if (strpos >= input.length() - HasSign() - suffix.length()) | 244 | if (strpos >= input.length() - HasSign() - suffix.length()) |