summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <[email protected]>2015-10-14 16:10:44 +0100
committerJonathan Riddell <[email protected]>2015-10-14 16:10:44 +0100
commit0d1ff2f8d4ab2ff70468c742b144b2e5ab792162 (patch)
tree84d248ac6ce3d0509022ec62d75a325a644b0102
parentd667bd4e1143c17c01364d40fcc6f99fd25f4490 (diff)
this should still be run even if we're not using the samba install stuff
-rw-r--r--samba/filepropertiesplugin/sambausershareplugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/samba/filepropertiesplugin/sambausershareplugin.cpp b/samba/filepropertiesplugin/sambausershareplugin.cpp
index 6ee96db..dba0388 100644
--- a/samba/filepropertiesplugin/sambausershareplugin.cpp
+++ b/samba/filepropertiesplugin/sambausershareplugin.cpp
@@ -105,7 +105,6 @@ SambaUserSharePlugin::SambaUserSharePlugin(QObject *parent, const QList<QVariant
for (int i = 0; i < model->rowCount(); ++i) {
propertiesUi.tableView->openPersistentEditor(model->index(i, 1, QModelIndex()));
}
-#ifdef SAMBA_INSTALL
if (QStandardPaths::findExecutable(QStringLiteral("smbd")).isEmpty()) {
m_installSambaWidgets->show();
m_shareWidgets->hide();
@@ -113,7 +112,6 @@ SambaUserSharePlugin::SambaUserSharePlugin(QObject *parent, const QList<QVariant
m_installSambaWidgets->hide();
m_shareWidgets->show();
}
-#endif
}
SambaUserSharePlugin::~SambaUserSharePlugin()