Modify icon default size
This commit is contained in:
parent
458bce03ef
commit
0694ef7894
2 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,7 @@ DockSettings::DockSettings(QObject *parent)
|
||||||
, m_settings(new QSettings(QSettings::UserScope, "cutefishos", "dock"))
|
, m_settings(new QSettings(QSettings::UserScope, "cutefishos", "dock"))
|
||||||
{
|
{
|
||||||
if (!m_settings->contains("IconSize"))
|
if (!m_settings->contains("IconSize"))
|
||||||
m_settings->setValue("IconSize", 54);
|
m_settings->setValue("IconSize", 53);
|
||||||
if (!m_settings->contains("Direction"))
|
if (!m_settings->contains("Direction"))
|
||||||
m_settings->setValue("Direction", Bottom);
|
m_settings->setValue("Direction", Bottom);
|
||||||
if (!m_settings->contains("Visibility"))
|
if (!m_settings->contains("Visibility"))
|
||||||
|
|
|
@ -161,7 +161,6 @@ QRect MainWindow::windowRect() const
|
||||||
compositing = item->property("compositing").toBool();
|
compositing = item->property("compositing").toBool();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSize newSize(0, 0);
|
QSize newSize(0, 0);
|
||||||
QPoint position(0, 0);
|
QPoint position(0, 0);
|
||||||
int maxLength = isHorizontal ? screenGeometry.width() - m_settings->edgeMargins()
|
int maxLength = isHorizontal ? screenGeometry.width() - m_settings->edgeMargins()
|
||||||
|
|
Loading…
Reference in a new issue