Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Print Manager
Commits
5973d744
Commit
5973d744
authored
Aug 31, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using no deprecated enum Qt::MiddleButton
parent
6ba27a65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
add-printer/DevicesModel.cpp
add-printer/DevicesModel.cpp
+1
-1
add-printer/PageDestinations.cpp
add-printer/PageDestinations.cpp
+1
-1
No files found.
add-printer/DevicesModel.cpp
View file @
5973d744
...
...
@@ -186,7 +186,7 @@ void DevicesModel::insertDevice(const QString &device_class,
device_location
,
!
grouped_printers
.
isEmpty
());
if
(
!
grouped_printers
.
isEmpty
())
{
stdItem
->
setData
(
q
Variant
F
romValue
(
grouped_printers
),
DeviceUris
);
stdItem
->
setData
(
Q
Variant
::
f
romValue
(
grouped_printers
),
DeviceUris
);
}
}
...
...
add-printer/PageDestinations.cpp
View file @
5973d744
...
...
@@ -178,7 +178,7 @@ void PageDestinations::deviceChanged()
ui
->
connectionsCB
->
clear
();
const
auto
printers
=
uris
.
value
<
KCupsPrinters
>
();
for
(
const
KCupsPrinter
&
printer
:
printers
)
{
ui
->
connectionsCB
->
addItem
(
printer
.
name
(),
q
Variant
F
romValue
(
printer
));
ui
->
connectionsCB
->
addItem
(
printer
.
name
(),
Q
Variant
::
f
romValue
(
printer
));
}
ui
->
connectionsGB
->
setVisible
(
true
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment