mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix some random compiler warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ed41d5a744
commit
9c90d6790a
3 changed files with 2 additions and 4 deletions
|
|
@ -566,7 +566,6 @@ bool MainWindow::askSaveChanges()
|
|||
void MainWindow::initialUiSetup()
|
||||
{
|
||||
QSettings settings;
|
||||
int i;
|
||||
settings.beginGroup("MainWindow");
|
||||
QSize sz = settings.value("size", qApp->desktop()->size()).value<QSize>();
|
||||
resize(sz);
|
||||
|
|
@ -641,7 +640,6 @@ void MainWindow::readSettings()
|
|||
|
||||
void MainWindow::writeSettings()
|
||||
{
|
||||
int i;
|
||||
QSettings settings;
|
||||
|
||||
settings.beginGroup("MainWindow");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue