Skip to content

Commit 868e2a9

Browse files
committed
Fix OBS build
1 parent 86e2fec commit 868e2a9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packaging/debian_OBS/fritzcallindicator.dsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Maintainer: Thorsten Roth <[email protected]>
66
Architecture: any
77
Build-Depends: debhelper (>= 9), cmake, qt6-base-dev, qt6-multimedia-dev, qt6-tools-dev, qt6-tools-dev-tools, qt6-l10n-tools, libgl-dev, libavcodec59 | libavcodec61, libavformat59 | libavformat61, pkg-config, dpkg-dev (>= 1.16.1.1)
88
Files:
9-
77157aa55134c649e5b1d8160c49410e 203008 fritzcallindicator-0.8.0.tar.gz
9+
9658342ed62bf8672b644f5caeae0138 205193 fritzcallindicator-0.8.0.tar.gz
1010
1251e72a73574cdc476fc1d019c4151d 2213 debian.tar.gz

src/settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void Settings::setAutostart(const bool bAutostart) {
185185
#endif
186186
}
187187

188-
auto Settings::isAutostartEnabled() -> const bool {
188+
auto Settings::isAutostartEnabled() const -> bool {
189189
bool bEnabled = false;
190190

191191
#if defined(Q_OS_LINUX) || defined(Q_OS_UNIX)

src/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Settings : public QObject {
4848
void setMaxEntriesCallHistory(const uint nMaxEntries);
4949
auto getAutostart() const -> bool;
5050
void setAutostart(const bool bAutostart);
51-
auto isAutostartEnabled() -> const bool;
51+
auto isAutostartEnabled() const -> bool;
5252
auto getNotificationSound() const -> QString;
5353
void setNotificationSound(const QString& sNotificationSound);
5454

src/settingsdialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ SettingsDialog::SettingsDialog(const QDir sharePath, QObject *pParent)
6161
QHeaderView::Stretch);
6262

6363
#ifdef FRITZ_USE_NOTIFICATION_SOUND
64-
#if QT_VERSION <= QT_VERSION_CHECK(6, 6, 0)
64+
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
6565
connect(m_pUi->cbNotificationSound, &QCheckBox::stateChanged, [=](int state) {
6666
Q_UNUSED(state);
6767
#else
@@ -385,7 +385,7 @@ void SettingsDialog::readSettings() {
385385
QMap<QString, QString> ownNumbers = settings.getOwnNumbers();
386386

387387
// Fill table with own numbers
388-
int row = 0;
388+
uint row = 0;
389389
m_pUi->tableOwnNumbers->clearContents();
390390
m_pUi->tableOwnNumbers->model()->removeRows(
391391
0, m_pUi->tableOwnNumbers->rowCount());

0 commit comments

Comments
 (0)