diff --git a/src/docksettings.cpp b/src/docksettings.cpp index 77301de..48239f3 100644 --- a/src/docksettings.cpp +++ b/src/docksettings.cpp @@ -46,7 +46,7 @@ DockSettings::DockSettings(QObject *parent) , m_settings(new QSettings(QSettings::UserScope, "cutefishos", "dock")) { if (!m_settings->contains("IconSize")) - m_settings->setValue("IconSize", 54); + m_settings->setValue("IconSize", 53); if (!m_settings->contains("Direction")) m_settings->setValue("Direction", Bottom); if (!m_settings->contains("Visibility")) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f7129c3..1f210a5 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -161,7 +161,6 @@ QRect MainWindow::windowRect() const compositing = item->property("compositing").toBool(); } - QSize newSize(0, 0); QPoint position(0, 0); int maxLength = isHorizontal ? screenGeometry.width() - m_settings->edgeMargins()