Skip to content

Commit 1c507bb

Browse files
committed
Fix warnings on launching
1 parent abc086a commit 1c507bb

File tree

5 files changed

+13
-28
lines changed

5 files changed

+13
-28
lines changed

src/app/DefaultParamsDialog.ui

+10-13
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,7 @@
470470
<widget class="QToolButton" name="singlePageUncutBtn">
471471
<property name="icon">
472472
<iconset resource="../resources/resources.qrc">
473-
<normaloff>:/icons/single_page_uncut.svg</normaloff>
474-
<normalon>:/icons/single_page_uncut_selected.svg</normalon>:/icons/single_page_uncut.svg</iconset>
473+
<normaloff>:/icons/single_page_uncut.svg</normaloff>:/icons/single_page_uncut.svg</iconset>
475474
</property>
476475
<property name="iconSize">
477476
<size>
@@ -497,8 +496,7 @@
497496
<widget class="QToolButton" name="pagePlusOffcutBtn">
498497
<property name="icon">
499498
<iconset resource="../resources/resources.qrc">
500-
<normaloff>:/icons/right_page_plus_offcut.svg</normaloff>
501-
<normalon>:/icons/right_page_plus_offcut_selected.svg</normalon>:/icons/right_page_plus_offcut.svg</iconset>
499+
<normaloff>:/icons/right_page_plus_offcut.svg</normaloff>:/icons/right_page_plus_offcut.svg</iconset>
502500
</property>
503501
<property name="iconSize">
504502
<size>
@@ -521,8 +519,7 @@
521519
<widget class="QToolButton" name="twoPagesBtn">
522520
<property name="icon">
523521
<iconset resource="../resources/resources.qrc">
524-
<normaloff>:/icons/two_pages.svg</normaloff>
525-
<normalon>:/icons/two_pages_selected.svg</normalon>:/icons/two_pages.svg</iconset>
522+
<normaloff>:/icons/two_pages.svg</normaloff>:/icons/two_pages.svg</iconset>
526523
</property>
527524
<property name="iconSize">
528525
<size>
@@ -638,8 +635,8 @@
638635
<rect>
639636
<x>0</x>
640637
<y>0</y>
641-
<width>637</width>
642-
<height>442</height>
638+
<width>208</width>
639+
<height>116</height>
643640
</rect>
644641
</property>
645642
<layout class="QGridLayout" name="gridLayout_3">
@@ -810,8 +807,8 @@
810807
<rect>
811808
<x>0</x>
812809
<y>0</y>
813-
<width>637</width>
814-
<height>442</height>
810+
<width>208</width>
811+
<height>314</height>
815812
</rect>
816813
</property>
817814
<layout class="QGridLayout" name="gridLayout_7">
@@ -1117,8 +1114,8 @@
11171114
<rect>
11181115
<x>0</x>
11191116
<y>0</y>
1120-
<width>637</width>
1121-
<height>442</height>
1117+
<width>406</width>
1118+
<height>237</height>
11221119
</rect>
11231120
</property>
11241121
<layout class="QGridLayout" name="gridLayout_10">
@@ -1876,7 +1873,7 @@ QToolButton:pressed {
18761873
<rect>
18771874
<x>0</x>
18781875
<y>0</y>
1879-
<width>620</width>
1876+
<width>615</width>
18801877
<height>496</height>
18811878
</rect>
18821879
</property>

src/app/NewOpenProjectPanel.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ using namespace core;
1515
NewOpenProjectPanel::NewOpenProjectPanel(QWidget* parent) : QWidget(parent) {
1616
setupUi(this);
1717

18-
recentProjectsGroup->setLayout(new QVBoxLayout);
1918
newProjectLabel->setText(Utils::richTextForLink(newProjectLabel->text()));
2019
openProjectLabel->setText(Utils::richTextForLink(openProjectLabel->text()));
2120

src/core/filters/page_split/OptionsWidget.ui

+3-6
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
<widget class="QToolButton" name="singlePageUncutBtn">
5252
<property name="icon">
5353
<iconset resource="../../../resources/resources.qrc">
54-
<normaloff>:/icons/single_page_uncut.svg</normaloff>
55-
<normalon>:/icons/single_page_uncut_selected.svg</normalon>:/icons/single_page_uncut.svg</iconset>
54+
<normaloff>:/icons/single_page_uncut.svg</normaloff>:/icons/single_page_uncut.svg</iconset>
5655
</property>
5756
<property name="iconSize">
5857
<size>
@@ -75,8 +74,7 @@
7574
<widget class="QToolButton" name="pagePlusOffcutBtn">
7675
<property name="icon">
7776
<iconset resource="../../../resources/resources.qrc">
78-
<normaloff>:/icons/right_page_plus_offcut.svg</normaloff>
79-
<normalon>:/icons/right_page_plus_offcut_selected.svg</normalon>:/icons/right_page_plus_offcut.svg</iconset>
77+
<normaloff>:/icons/right_page_plus_offcut.svg</normaloff>:/icons/right_page_plus_offcut.svg</iconset>
8078
</property>
8179
<property name="iconSize">
8280
<size>
@@ -99,8 +97,7 @@
9997
<widget class="QToolButton" name="twoPagesBtn">
10098
<property name="icon">
10199
<iconset resource="../../../resources/resources.qrc">
102-
<normaloff>:/icons/two_pages.svg</normaloff>
103-
<normalon>:/icons/two_pages_selected.svg</normalon>:/icons/two_pages.svg</iconset>
100+
<normaloff>:/icons/two_pages.svg</normaloff>:/icons/two_pages.svg</iconset>
104101
</property>
105102
<property name="iconSize">
106103
<size>

src/resources/dark_scheme/stylesheet/stylesheet.qss

-4
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,6 @@ QScrollBar::up-arrow:vertical {
432432
image: url(:/dark_scheme/icons/scroll_bar_up_arrow.svg);
433433
}
434434

435-
QTabWidget > QWidget {
436-
qproperty-drawBase:0;
437-
}
438-
439435
QTabWidget::pane {
440436
background-color: palette(window);
441437
background-color: #424242;

src/resources/light_scheme/stylesheet/stylesheet.qss

-4
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,6 @@ QScrollBar::up-arrow:vertical {
433433
image: url(:/light_scheme/icons/scroll_bar_up_arrow.svg);
434434
}
435435

436-
QTabWidget > QWidget {
437-
qproperty-drawBase:0;
438-
}
439-
440436
QTabWidget::pane {
441437
background-color: palette(window);
442438
border: 1px solid #cccccc;

0 commit comments

Comments
 (0)